Merge pull request #99 from MoetaYuko/patch-1

Fix downloading the latest release
This commit is contained in:
Morantron 2023-09-28 09:15:10 +02:00 committed by GitHub
commit a7db2a1e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function download_binary() {
echo "Getting latest release..."
# TODO use "latest" tag
url=$(curl -s "https://api.github.com/repos/morantron/tmux-fingers/releases" | grep browser_download_url | tail -1 | grep -o https://.*x86_64)
url=$(curl -s "https://api.github.com/repos/morantron/tmux-fingers/releases" | grep browser_download_url | head -1 | grep -o https://.*x86_64)
echo "Downloading binary from $url"