Skip to content

Commit

Permalink
Release notes script, usage example: release_notes.sh 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Mar 13, 2019
1 parent 83ff592 commit d0bb532
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hacking/release_notes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
previous_tag=$(git describe --tags --abbrev=0 v$1^)
echo "Commits from $previous_tag to v$1:"
git log $previous_tag..v$1 --oneline --format="%s" --reverse|sort -s -k1.1,1.4

0 comments on commit d0bb532

Please sign in to comment.