blob: bf3611659de1d055feb5bda6b2c57a568df7dc37 [file] [log] [blame]
#!/bin/sh
# Automatically merge the last commit through the following branches:
# Integration-Releases -} master
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
LAST_COMMIT=$(git rev-list -1 HEAD)
echo Automatically merging commit $LAST_COMMIT from $CURRENT_BRANCH rippling to master
case $CURRENT_BRANCH in
Integration-Releases)
#git checkout Integration-Releases
#git merge $CURRENT_BRANCH
git checkout master
git merge $CURRENT_BRANCH
git checkout $CURRENT_BRANCH
;;
esac