From 1ddb2bd20bd81d53314d742f0e0b1c6ae631c437 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Wed, 15 Aug 2018 09:36:30 +0200 Subject: travis: Filter out release candidates from bundle tags --- scripts/bundle-otp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3