diff options
author | Tony Theodore <tonyt@logyst.com> | 2018-03-18 14:32:41 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-03-18 14:32:41 (GMT) |
commit | 3bf6deaaf6d2562297ace55cf268da6def9c9375 (patch) | |
tree | 878d803751f3e1c22903b43980e5fb1eddeba3b5 /tools/travis-push.sh | |
parent | a6f2caa3869a50e2af68ab69755279aef6bfac19 (diff) | |
download | mxe-3bf6deaaf6d2562297ace55cf268da6def9c9375.zip mxe-3bf6deaaf6d2562297ace55cf268da6def9c9375.tar.gz mxe-3bf6deaaf6d2562297ace55cf268da6def9c9375.tar.bz2 |
Revert "travis-push: test master in .travis.yml"
This reverts commit a6f2caa3869a50e2af68ab69755279aef6bfac19.
Diffstat (limited to 'tools/travis-push.sh')
-rwxr-xr-x | tools/travis-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/travis-push.sh b/tools/travis-push.sh index c8d4b1b..70fff8c 100755 --- a/tools/travis-push.sh +++ b/tools/travis-push.sh @@ -9,4 +9,4 @@ git config credential.helper "store --file=.git/credentials" echo "https://${GH_TOKEN}:@github.com" > .git/credentials git remote set-url origin 'https://github.com/mxe/mxe.git' git commit -a -m 'Update packages.json & build-matrix.html' || true -git push origin HEAD:master +[ `git rev-parse --abbrev-ref HEAD` == master ] && git push origin HEAD:master |