Skip to content

Instantly share code, notes, and snippets.

@nateware
Created October 17, 2014 22:40
Show Gist options
  • Save nateware/35afa0b23fd2c75874cb to your computer and use it in GitHub Desktop.
Save nateware/35afa0b23fd2c75874cb to your computer and use it in GitHub Desktop.
Simple rake task to spit out git log for changelog.md
desc "show changelog"
task :changelog do
latest = `git tag |tail -1`.chomp
system "git log --pretty=format:'* %s %b [%an]' #{latest}..HEAD"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment