diff --git a/.circleci/config.yml b/.circleci/config.yml index fe4898f4a0..c512e195af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 562660978a..4a306e8849 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ stages: include: - project: mattermost/ci/mattermost-server - ref: master + ref: release-6.0 file: private.yml variables: diff --git a/scripts/download_mmctl_release.sh b/scripts/download_mmctl_release.sh index 2862f15dc4..bd54cb86f9 100755 --- a/scripts/download_mmctl_release.sh +++ b/scripts/download_mmctl_release.sh @@ -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";