Travis: don't edit Release info if this is a PR

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-11-17 12:21:13 -08:00
parent 35194c7002
commit 9f1fde4794

View file

@ -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