Last active
April 19, 2019 18:58
-
-
Save ljonesfl/f8a67bf3cbd63ddb0a458ecd0f0bdd7c to your computer and use it in GitHub Desktop.
git flow release helpers
This file contains 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 characters
alias git_push_release="git checkout master && git push && git push --tags && git checkout develop" | |
alias git_release="git checkout master && git pull && git checkout develop && bump | xargs git flow release start" | |
alias git_hotfix="git checkout master && git pull && bump --build && bump | xargs git flow hotfix start" | |
alias git_next_version='bump -p && echo -e "## $(bump)\n\n$(cat versionlog.md)" > versionlog.md && git commit -am bump && git push' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated git_next_version to automatically prepend versionlog.md with the next version.