Skip to content

Commit 9c874e8

Browse files
committed
please.sh tag_git: mention the new feature in the release notes, too
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c60e9fc commit 9c874e8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

please.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,6 +2482,20 @@ finalize () { # <what, e.g. release-notes>
24822482
test "$displayver" != "$(version_from_release_notes)" ||
24832483
die "Version %s already in the release notes\n" "$displayver"
24842484

2485+
case "$nextver" in
2486+
*.windows.1)
2487+
v=${nextver%.windows.1} &&
2488+
if ! grep -q "^\\* Comes with \\[Git $v\\]" \
2489+
"$sdk64"/usr/src/build-extra/ReleaseNotes.md
2490+
then
2491+
url=https://github.com/git/git/blob/$v &&
2492+
url=$url/Documentation/RelNotes/${v#v}.txt &&
2493+
mention feature 'Comes with [Git '$v']('$url').'
2494+
fi ||
2495+
die "Could not mention that Git was upgraded to $v\n"
2496+
;;
2497+
esac
2498+
24852499
sed -i -e "1s/.*/# Git for Windows v$displayver Release Notes/" \
24862500
-e "2s/.*/Latest update: $(today)/" \
24872501
"$sdk64"/usr/src/build-extra/ReleaseNotes.md ||

0 commit comments

Comments
 (0)