ci: update branch version references

This commit is contained in:
5chdn 2018-09-11 11:03:16 +02:00
parent 611b3912fd
commit 850abdddbb
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80
3 changed files with 9 additions and 9 deletions

View File

@ -3,9 +3,9 @@
set -e # fail on any error set -e # fail on any error
set -u # treat unset variables as error set -u # treat unset variables as error
case ${CI_COMMIT_REF_NAME} in case ${CI_COMMIT_REF_NAME} in
nightly|*v2.1*) export GRADE="devel";; nightly|*v2.2*) export GRADE="devel";;
beta|*v2.0*) export GRADE="stable";; beta|*v2.1*) export GRADE="stable";;
stable|*v1.11*) export GRADE="stable";; stable|*v2.0*) export GRADE="stable";;
*) echo "No release" exit 0;; *) echo "No release" exit 0;;
esac esac
SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap" SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap"

View File

@ -4,9 +4,9 @@ set -e # fail on any error
set -u # treat unset variables as error set -u # treat unset variables as error
case ${CI_COMMIT_REF_NAME} in case ${CI_COMMIT_REF_NAME} in
nightly|*v2.1*) export CHANNEL="edge";; nightly|*v2.2*) export CHANNEL="edge";;
beta|*v2.0*) export CHANNEL="beta";; beta|*v2.1*) export CHANNEL="beta";;
stable|*v1.11*) export CHANNEL="stable";; stable|*v2.0*) export CHANNEL="stable";;
*) echo "No release" exit 0;; *) echo "No release" exit 0;;
esac esac
echo "Release channel :" $CHANNEL " Branch/tag: " $CI_COMMIT_REF_NAME echo "Release channel :" $CHANNEL " Branch/tag: " $CI_COMMIT_REF_NAME

View File

@ -14,9 +14,9 @@ RELEASE_TABLE="$(echo "${RELEASE_TABLE//\$VERSION/${VERSION}}")"
#The text in the file CANGELOG.md before which the table with links is inserted. Must be present in this file necessarily #The text in the file CANGELOG.md before which the table with links is inserted. Must be present in this file necessarily
REPLACE_TEXT="The full list of included changes:" REPLACE_TEXT="The full list of included changes:"
case ${CI_COMMIT_REF_NAME} in case ${CI_COMMIT_REF_NAME} in
nightly|*v2.1*) NAME="Parity "$VERSION" nightly";; nightly|*v2.2*) NAME="Parity "$VERSION" nightly";;
beta|*v2.0*) NAME="Parity "$VERSION" beta";; beta|*v2.1*) NAME="Parity "$VERSION" beta";;
stable|*v1.11*) NAME="Parity "$VERSION" stable";; stable|*v2.0*) NAME="Parity "$VERSION" stable";;
*) echo "No release" exit 0;; *) echo "No release" exit 0;;
esac esac
cd artifacts cd artifacts