diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-11-18 09:53:22 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-11-18 09:53:22 (GMT) |
commit | 1e4c381a4c6f4eeaf864a853843bb2d9291c38f2 (patch) | |
tree | d2de283ab20e304e13f01e9c58ca6955786f8b2e /tools | |
parent | c823457b228036ec1d6e3a7342a764ba772a77cb (diff) | |
parent | d57e5c58c8cbb37e810be438c11fb681321de35f (diff) | |
download | mxe-1e4c381a4c6f4eeaf864a853843bb2d9291c38f2.zip mxe-1e4c381a4c6f4eeaf864a853843bb2d9291c38f2.tar.gz mxe-1e4c381a4c6f4eeaf864a853843bb2d9291c38f2.tar.bz2 |
Merge pull request #924 from LuaAndC/travis-build-pulls
fix travis builds for pull requests
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/travis-push.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/travis-push.sh b/tools/travis-push.sh new file mode 100755 index 0000000..e7aef3b --- /dev/null +++ b/tools/travis-push.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -ue + +git config --global user.email 'mxebot@gmail.com' +git config --global user.name 'MXEBot as Travis CI' +git config --global push.default simple +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 versions.json' +git push origin HEAD:master +git push origin HEAD:gh-pages |