mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Lock CI back to master
This commit is contained in:
committed by
Claudio Costa
parent
1898670340
commit
33edd645c7
@@ -15,7 +15,14 @@ fi
|
||||
|
||||
BIN_PATH=${2:-bin}
|
||||
|
||||
RELEASE_TO_DOWNLOAD="release-6.0"
|
||||
# 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
|
||||
|
||||
echo "Downloading prepackaged binary: https://releases.mattermost.com/mmctl/$RELEASE_TO_DOWNLOAD";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user