]> git.ipfire.org Git - thirdparty/pdns.git/blob - build-scripts/git-to-changelog
Add support for dnsdist-15 to repo script.
[thirdparty/pdns.git] / build-scripts / git-to-changelog
1 #!/bin/sh
2
3 if [ "$1" = "-" ]; then
4 cat
5 else
6 git log --no-merges --pretty=format:'- [commit %h](https://github.com/PowerDNS/pdns/commit/%h): %s (%an)' "$@" |\
7 perl -pe 's!#([[:digit:]]+)![ticket #\1](https://github.com/PowerDNS/pdns/issues/\1)!g;'
8 fi