Skip to content

Commit a48101d

Browse files
committed
do-release: Add NEWS to tag description
1 parent 22ae038 commit a48101d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

do-release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ make dist
3131

3232
# commit the release and tag
3333
git commit -a -m "release $version"
34-
git tag -s -m "release $version" $version
34+
changes=$(sed -n '/^$/ q; /^- / p' NEWS)
35+
printf "$version\n\n$changes\n" | git tag -s -F- $version
3536
git push
3637
git push --tags
3738

0 commit comments

Comments
 (0)