Created
April 17, 2013 20:59
-
-
Save chuckbergeron/5407732 to your computer and use it in GitHub Desktop.
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
#! /usr/local/bin/zsh | |
echo "You probably want to run this from your master branch..." | |
# Remove any existing LATEST_CHANGES.md files: | |
rm LATEST_CHANGES.md | |
# Get the latest tag from the git index | |
LATEST_TAG=`git describe --abbrev=0` | |
# Concat each commit message between the last built tag and the current branch | |
git log $LATEST_TAG..HEAD --no-merges --pretty=%s > LATEST_CHANGES.md | |
# Open in SublimeText (Could use $EDITOR ENV var instead) | |
subl LATEST_CHANGES.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been using this script to dump the most recent commit messages into a file. I then pick and re-write new features, squashed bugs, known issues and developer notes for the new release in the app's CHANGELOG.md file.