Explorar o código

Travis: only upload for push (#2134)

wwylele %!s(int64=9) %!d(string=hai) anos
pai
achega
0dfad003dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .travis-upload.sh

+ 1 - 1
.travis-upload.sh

@@ -1,4 +1,4 @@
-if [ "$TRAVIS_BRANCH" = "master" ]; then
+if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then
     GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
     GITREV="`git show -s --format='%h'`"