Browse Source

Add changelog helper script

pull/786/head
Ross McFarland 4 years ago
parent
commit
5774e7490b
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      script/changelog

+ 7
- 0
script/changelog View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
VERSION=v$(grep __VERSION__ octodns/__init__.py | sed -e "s/^[^']*'//" -e "s/'$//")
echo $VERSION
git log --pretty="%h - %cr - %s (%an)" "${VERSION}..HEAD"

Loading…
Cancel
Save