1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Add changelog helper script

This commit is contained in:
Ross McFarland
2021-09-28 17:43:03 -07:00
parent 47f94cc50e
commit 5774e7490b

7
script/changelog Executable file
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"