diff options
author | Lukas Larsson <[email protected]> | 2018-08-15 09:36:30 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-08-15 09:36:30 +0200 |
commit | 1ddb2bd20bd81d53314d742f0e0b1c6ae631c437 (patch) | |
tree | ec8b86f390672beae71cd615a0a907946c6cf1b0 | |
parent | 0aae9b681d724314584140018298a5ff9d0e6fc1 (diff) | |
download | otp-1ddb2bd20bd81d53314d742f0e0b1c6ae631c437.tar.gz otp-1ddb2bd20bd81d53314d742f0e0b1c6ae631c437.tar.bz2 otp-1ddb2bd20bd81d53314d742f0e0b1c6ae631c437.zip |
travis: Filter out release candidates from bundle tags
-rwxr-xr-x | scripts/bundle-otp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bundle-otp b/scripts/bundle-otp index 0ffe7d8c77..87b3b90a25 100755 --- a/scripts/bundle-otp +++ b/scripts/bundle-otp @@ -22,7 +22,7 @@ for repo in $REPOSITORIES; do git clone https://github.com/erlang/$1 $1 cd $1 echo $1 $2 - TAG=`git tag -l | grep -P "$2" | sort -V | tail -1` + TAG=`git tag -l | grep -v "\-rc" | grep -P "$2" | sort -V | tail -1` git checkout $TAG SHA=`git rev-parse --verify HEAD` rm -rf .git |