-
-
Save piyushchauhan2011/4b411363bf7a495796e5315e7e25f7b6 to your computer and use it in GitHub Desktop.
Revisions
-
ericclemmons created this gist
Nov 1, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ #!/usr/bin/env bash echo "Checking out master branch" git checkout master git pull origin master git log master..develop read -p "Review your changes..." echo "Merging develop branch" git merge develop TAGSTAMP=`date +%Y-%m-%d.%H%M%S` echo "Tagging as ${TAGSTAMP}" git tag -a $TAGSTAMP echo "Pushing commits and tags" git push git push --tags echo "Checking out develop branch" git checkout develop git push