mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 15:40:14 +00:00
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:
8
.github/scripts/environment.sh
vendored
8
.github/scripts/environment.sh
vendored
@@ -5,6 +5,7 @@ NDI=--disable-ndi
|
||||
if expr $GITHUB_REF : 'refs/tags/'; then
|
||||
TAG=${GITHUB_REF#refs/tags/}
|
||||
VERSION=${TAG#v}
|
||||
CHANNEL=release
|
||||
elif [ $GITHUB_REF = 'refs/heads/ndi-build' ]; then
|
||||
NDI=--enable-ndi
|
||||
VERSION=ndi
|
||||
@@ -14,8 +15,13 @@ else
|
||||
TAG=$VERSION
|
||||
fi
|
||||
|
||||
export NDI TAG VERSION
|
||||
if [ -z ${CHANNEL-""} ]; then
|
||||
CHANNEL=$VERSION
|
||||
fi
|
||||
|
||||
export CHANNEL NDI TAG VERSION
|
||||
|
||||
echo "CHANNEL=$CHANNEL" >> $GITHUB_ENV
|
||||
echo "NDI=$NDI" >> $GITHUB_ENV
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user