diff options
| -rwxr-xr-x | .travis-upload.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis-upload.sh b/.travis-upload.sh index 7838bf079..1bec74b3d 100755 --- a/.travis-upload.sh +++ b/.travis-upload.sh | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | if [ "$TRAVIS_BRANCH" = "master" ]; then | 1 | if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then |
| 2 | GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`" | 2 | GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`" |
| 3 | GITREV="`git show -s --format='%h'`" | 3 | GITREV="`git show -s --format='%h'`" |
| 4 | 4 | ||