diff --git a/admin/linux/upload-appimage.sh b/admin/linux/upload-appimage.sh
index 6d6a3414d8742..9b9535fe9f27b 100755
--- a/admin/linux/upload-appimage.sh
+++ b/admin/linux/upload-appimage.sh
@@ -32,7 +32,13 @@ if ! test -e $APPIMAGE ; then
exit 1
fi
-echo "Found AppImage: $BASENAME"
+echo "Found AppImage: $BASENAME_APPIMAGE"
+
+if ! test -e $UPDATE ; then
+ exit 1
+fi
+
+echo "Found zsync: $BASENAME_UPDATE"
if [ $TAG_NAME != "master" ]; then
# Delete all old comments in desktop PR, starting with "AppImage file:"
@@ -121,7 +127,7 @@ for data in $(echo $assets | jq -r '.[] | @uri'); do
done
# Upload release asset
-echo "Uploading new asset: $BASENAME"
+echo "Uploading new asset: $BASENAME_APPIMAGE, $BASENAME_UPDATE"
json=$(upload_release_asset "$uploadUrlAppImage" "$uploadUrlUpdate")
browserDownloadUrl=$(echo $json | jq -r '.browser_download_url')
@@ -133,7 +139,7 @@ fi
if [ $TAG_NAME != "master" ]; then
# Create comment in desktop PR
- curl 2>/dev/null -u $GIT_USERNAME:$GIT_TOKEN -X POST $DESKTOP_API_BASE_URL/issues/$PR/comments -d "{ \"body\" : \"AppImage file: [$BASENAME]($browserDownloadUrl)
To test this change/fix you can simply download above AppImage file and test it.
Please make sure to quit your existing Nextcloud app and backup your data. \" }"
+ curl 2>/dev/null -u $GIT_USERNAME:$GIT_TOKEN -X POST $DESKTOP_API_BASE_URL/issues/$PR/comments -d "{ \"body\" : \"AppImage file: [$BASENAME_APPIMAGE]($browserDownloadUrl)
[$BASENAME_UPDATE]($browserDownloadUrl)
To test this change/fix you can simply download above AppImage file and test it.
Please make sure to quit your existing Nextcloud app and backup your data. \" }"
fi
echo