AppImage: updater URL fix

This commit is contained in:
Martin Pulec
2020-09-14 14:59:43 +02:00
parent 31d8837682
commit ec00fb6076
2 changed files with 6 additions and 2 deletions

View File

@@ -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'

View File

@@ -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