diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh index 403fde14..e080c283 100755 --- a/.ci/linux/deploy.sh +++ b/.ci/linux/deploy.sh @@ -49,7 +49,7 @@ done chmod +x nheko-*x86_64.AppImage -if [ ! -z "$VERSION" ]; then +if [ -n "$VERSION" ]; then # commented out for now, as AppImage file appears to already contain the version. #mv nheko-*x86_64.AppImage nheko-${VERSION}-x86_64.AppImage echo "nheko-${VERSION}-x86_64.AppImage" diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index 45ed13bc..bb82d294 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -25,6 +25,6 @@ PATH=/usr/local/opt/qt/bin/:${PATH} dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg -if [ ! -z "$VERSION" ]; then +if [ -n "$VERSION" ]; then mv nheko.dmg "nheko-${VERSION}.dmg" fi