Skip to content

Commit c520be3

Browse files
committed
add script for creating release notes in rst format
1 parent 9cc636a commit c520be3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

release-notes.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
commitdiff=$1
4+
5+
if test -z $commitdiff; then
6+
echo "usage: $0 startcommit..endcommit"
7+
exit
8+
fi
9+
10+
git --no-pager log --no-merges --pretty=format:'%s (%an) : `%h <https://github.com/mapserver/mapcache/commit/%H>`__' $commitdiff | gsed 's!#\([0-9]\+\)! `#\1 <https://github.com/mapserver/mapcache/issues/\1>`__ !g'
11+

0 commit comments

Comments
 (0)