Merge pull request #703 from dalisoft/patch-1

build: use binary name only
This commit is contained in:
Benjamin Sago 2020-10-08 22:12:17 +01:00 committed by GitHub
commit 5cf22677e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ strip -v "$exa_linux_binary"
echo -e "\n\033[4mZipping binary...\033[0m"
if [[ "$1" == "--weekly" ]]
then exa_linux_zip="/vagrant/exa-linux-x86_64-${exa_version}-${date}-${git_hash}.zip"
else exa_linux_zip="/vagrant/exa-linux-x86_64-${exa_version}.zip"
else exa_linux_zip="/vagrant/exa-linux-x86_64.zip"
fi
rm -vf "$exa_linux_zip"
zip -j "$exa_linux_zip" "$exa_linux_binary"