Skip to content

Commit 0d344a9

Browse files
author
Ca-Jou
committed
[gitlab-migration] Fix pipelines for master or staging branch
1 parent fcdbef1 commit 0d344a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/update-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ VERSION=""
1010
# when executing this script with a git tag defined by buildkite, we are releasing to production
1111
if [[ ${BUILDKITE_TAG:-""} != "" ]]; then
1212
VERSION="$BUILDKITE_TAG"
13-
# when executing this script on the master branch, we are releasing internal versions
14-
elif [[ ${BUILDKITE_BRANCH:-} == "master" ]]; then
13+
# when executing this script on the master/staging branch, we are releasing internal versions
14+
elif [[ ${BUILDKITE_BRANCH:-} == "master" || ${BUILDKITE_BRANCH:-} == "staging" ]]; then
1515
VERSION=${PREV_TAG}
1616

1717
# if there are multiple revisions, append that revision number

0 commit comments

Comments
 (0)