Procházet zdrojové kódy

Travis: only upload for push (#2134)

wwylele před 9 roky
rodič
revize
0dfad003dc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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'`"