Skip to content

Instantly share code, notes, and snippets.

@trivoallan
Created February 10, 2011 13:22
Show Gist options
  • Save trivoallan/820500 to your computer and use it in GitHub Desktop.
Save trivoallan/820500 to your computer and use it in GitHub Desktop.
#!/bin/sh
VERSION=$1
git flow release start $VERSION
git log --pretty --numstat --summary $VERSION.. | ~/bin/git2cl >> Changelog
git add Changelog
git commit -m "[] [release] Updated changelog"
git flow release finish $VERSION
git push --tags origin develop master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment