Skip to content

Instantly share code, notes, and snippets.

@chuckbergeron
Created April 17, 2013 20:59
Show Gist options
  • Save chuckbergeron/5407732 to your computer and use it in GitHub Desktop.
Save chuckbergeron/5407732 to your computer and use it in GitHub Desktop.
#! /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
@chuckbergeron
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment