babel/tools/merge-development-with-master.sh
2015-06-26 20:30:16 +01:00

12 lines
207 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$TRAVIS_BRANCH" != "development" ]; then
exit 0;
fi
git update-ref HEAD master
git checkout master
git merge $TRAVIS_COMMIT
git push "https://${GH_TOKEN}@github.com/babel/babel"