Skip to content

Instantly share code, notes, and snippets.

@ChrisMcKee
Created October 16, 2013 11:05
Show Gist options
  • Save ChrisMcKee/7006083 to your computer and use it in GitHub Desktop.
Save ChrisMcKee/7006083 to your computer and use it in GitHub Desktop.
GitFlow quick release cmd. Assuming your using it properly; and presuming you need to make a deployment and don't plan on making 'changes' in the release that have to be merged back. This creates, publishes a release then finishes it,
@echo off
set /p delBuild=Enter the release number (without the v)?
git flow release start v%delBuild% && git flow release publish v%delBuild% && git flow release finish v%delBuild% && git push
git checkout develop
echo "Completed, you're now back on develop"
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment