Created
October 17, 2014 22:40
-
-
Save nateware/35afa0b23fd2c75874cb to your computer and use it in GitHub Desktop.
Simple rake task to spit out git log for changelog.md
This file contains hidden or 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
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