mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Travis: don't edit Release info if this is a PR
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
35194c7002
commit
9f1fde4794
1 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/bash
|
#!/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 [ ! -z $UPLOADTOOL_SUFFIX ] ; then
|
||||||
if [ "$UPLOADTOOL_SUFFIX" = "$TRAVIS_TAG" ] ; then
|
if [ "$UPLOADTOOL_SUFFIX" = "$TRAVIS_TAG" ] ; then
|
||||||
RELEASE_NAME=$TRAVIS_TAG
|
RELEASE_NAME=$TRAVIS_TAG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue