mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 02:41:49 -05:00
Travis: only upload for push (#2134)
This commit is contained in:
parent
eac57e29c1
commit
0dfad003dc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue