summaryrefslogtreecommitdiffstats
path: root/tools/travis-push.sh
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-18 14:32:41 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-18 14:32:41 (GMT)
commit3bf6deaaf6d2562297ace55cf268da6def9c9375 (patch)
tree878d803751f3e1c22903b43980e5fb1eddeba3b5 /tools/travis-push.sh
parenta6f2caa3869a50e2af68ab69755279aef6bfac19 (diff)
downloadmxe-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-xtools/travis-push.sh2
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