Lock CI for release-6.0 (#17756)

* Lock CI for release-6.0

* Update download_mmctl_release.sh

Co-authored-by: Mmbot <mmbot@mattermost>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
This commit is contained in:
Mattermod
2021-07-21 16:38:39 +02:00
committed by Claudio Costa
co-authored by Mmbot Elisabeth Kulzer
parent e3f82aac43
commit 953eebdef4
3 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
cd ../
git clone --depth=1 --no-single-branch https://github.com/mattermost/mattermost-webapp.git
cd mattermost-webapp
git checkout $CIRCLE_BRANCH || git checkout master
git checkout $CIRCLE_BRANCH || git checkout release-6.0
export WEBAPP_GIT_COMMIT=$(git rev-parse HEAD)
echo "$WEBAPP_GIT_COMMIT"
+1 -1
View File
@@ -7,7 +7,7 @@ stages:
include:
- project: mattermost/ci/mattermost-server
ref: master
ref: release-6.0
file: private.yml
variables:
+1 -8
View File
@@ -15,14 +15,7 @@ fi
BIN_PATH=${2:-bin}
# strip whitespace
THIS_BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$THIS_BRANCH" =~ 'release-'[0-9] ]];
then
RELEASE_TO_DOWNLOAD="$THIS_BRANCH"
else
RELEASE_TO_DOWNLOAD=master
fi
RELEASE_TO_DOWNLOAD="release-6.0"
echo "Downloading prepackaged binary: https://releases.mattermost.com/mmctl/$RELEASE_TO_DOWNLOAD";