aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bundle-otp
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-06-21 11:02:14 +0200
committerLukas Larsson <[email protected]>2018-07-07 09:28:51 +0200
commitd1a3136e72d38ce6cbe3f0292b7aa34e02b85cdc (patch)
tree01e069fe76aa45092c6cf1b322889f4a4c21eeb8 /scripts/bundle-otp
parent0a6963fcc4a077a7b51669178271dc4ae4d7d3cb (diff)
downloadotp-d1a3136e72d38ce6cbe3f0292b7aa34e02b85cdc.tar.gz
otp-d1a3136e72d38ce6cbe3f0292b7aa34e02b85cdc.tar.bz2
otp-d1a3136e72d38ce6cbe3f0292b7aa34e02b85cdc.zip
travis: Only deploy in erlang/otp
Diffstat (limited to 'scripts/bundle-otp')
-rwxr-xr-xscripts/bundle-otp6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/bundle-otp b/scripts/bundle-otp
index f3ff632b63..0ffe7d8c77 100755
--- a/scripts/bundle-otp
+++ b/scripts/bundle-otp
@@ -2,6 +2,10 @@
set -e
+if [ "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_REPO_SLUG" != "erlang/otp" ]; then
+ exit 0
+fi
+
OTP_META_FILE=$ERL_TOP/${TRAVIS_TAG}-bundle.txt
OTP_FILE=$ERL_TOP/${TRAVIS_TAG}-bundle.tar.gz
@@ -27,3 +31,5 @@ done
cd $ERL_TOP/bundle/
tar czf $OTP_FILE *
+
+exit 0