diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 9916f934b..3b11a4985 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -103,7 +103,7 @@ jobs: - name: check libstdc++ ABI run: .github/scripts/Linux/check_cxx_abi.sh 3.4.21 1.3.9 bin/* lib/ultragrid/* - name: Create AppImage - run: APPIMAGE=`data/scripts/Linux-AppImage/create-appimage.sh` && mv $APPIMAGE UltraGrid-$VERSION-x86_64.AppImage + run: APPIMAGE=`data/scripts/Linux-AppImage/create-appimage.sh https://github.com/$GITHUB_REPOSITORY/releases/download/$TAG/UltraGrid-$VERSION-x86_64.AppImage.zsync` && mv $APPIMAGE UltraGrid-$VERSION-x86_64.AppImage - name: Upload NDI Build id: upload-ndi if: github.ref == 'refs/heads/ndi-build' diff --git a/data/scripts/Linux-AppImage/create-appimage.sh b/data/scripts/Linux-AppImage/create-appimage.sh index 4e0ad9b3f..fd2c3c87a 100755 --- a/data/scripts/Linux-AppImage/create-appimage.sh +++ b/data/scripts/Linux-AppImage/create-appimage.sh @@ -68,7 +68,11 @@ if [ -n "$appimage_key" ]; then fi wget --no-verbose https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage -O appimagetool && chmod 755 appimagetool -./appimagetool --sign --comp gzip -u "zsync|https://github.com/${GITHUB_REPOSITORY-CESNET/UltraGrid}/releases/download/nightly/UltraGrid-nightly-x86_64.AppImage.zsync" $APPDIR $APPNAME +UPDATE_INFORMATION= +if [ $# -ge 1 ]; then + UPDATE_INFORMATION="-u zsync|$1" +fi +./appimagetool --sign --comp gzip $UPDATE_INFORMATION $APPDIR $APPNAME ) echo $APPNAME