Add release zsync update files to continuous

As there will be releases 1.7.1, 1.7.2 etc., storing zsync in release
asset doesn't make sense (further version won't update previous update
information). Thus store this in continuous release assets - update
channel "release" was introduced aside to existing "continuous".
This commit is contained in:
Martin Pulec
2021-11-02 13:52:02 +01:00
parent 577986b532
commit 085e4efb8f
2 changed files with 11 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
if expr $GITHUB_REF : 'refs/heads/release/'; then
VERSION=${GITHUB_REF#refs/heads/release/}
TAG=v$VERSION
CHANNEL=release
elif [ $GITHUB_REF = 'refs/heads/ndi-build' ]; then
VERSION=ndi
TAG=$VERSION
@@ -11,7 +12,12 @@ else
TAG=$VERSION
fi
export VERSION TAG
if [ -z ${CHANNEL-""} ]; then
CHANNEL=$VERSION
fi
echo "VERSION=$VERSION" >> $GITHUB_ENV
export CHANNEL TAG VERSION
echo "CHANNEL=$CHANNEL" >> $GITHUB_ENV
echo "TAG=$TAG" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV