0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-11-05 12:43:23 +01:00
Doodle3D-API/jspm_packages/npm/babel-core@5.6.20/tools/merge-development-with-master.sh
2015-07-15 15:06:18 +02:00

15 lines
274 B
Bash
Executable File

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