aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bundle-otp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bundle-otp')
-rwxr-xr-xscripts/bundle-otp2
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