From 9f1fde4794633b1b3dded88a92e1c50810b27786 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 17 Nov 2017 12:21:13 -0800 Subject: Travis: don't edit Release info if this is a PR Signed-off-by: Dirk Hohndel --- scripts/travis_end.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/travis_end.sh b/scripts/travis_end.sh index 60a5e3895..37a86f1e0 100644 --- a/scripts/travis_end.sh +++ b/scripts/travis_end.sh @@ -1,5 +1,10 @@ #!/bin/bash +# don't run this for pull requests +if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] ; then + exit 0; +fi + if [ ! -z $UPLOADTOOL_SUFFIX ] ; then if [ "$UPLOADTOOL_SUFFIX" = "$TRAVIS_TAG" ] ; then RELEASE_NAME=$TRAVIS_TAG -- cgit v1.2.3-70-g09d2