Browse Source

Travis: only upload for push (#2134)

nce_cpp
wwylele 9 years ago
committed by Merry
parent
commit
ed0aaecaa3
  1. 2
      .travis-upload.sh

2
.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'`"

Loading…
Cancel
Save