blob: bf3611659de1d055feb5bda6b2c57a568df7dc37 [file] [log] [blame]
ESI15a3b89d22015-11-24 12:34:18 +05301#!/bin/sh
2# Automatically merge the last commit through the following branches:
3# Integration-Releases -} master
4
5CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
6LAST_COMMIT=$(git rev-list -1 HEAD)
7
8echo Automatically merging commit $LAST_COMMIT from $CURRENT_BRANCH rippling to master
9
10case $CURRENT_BRANCH in
11Integration-Releases)
12 #git checkout Integration-Releases
13 #git merge $CURRENT_BRANCH
14 git checkout master
15 git merge $CURRENT_BRANCH
16 git checkout $CURRENT_BRANCH
17 ;;
18esac