File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff 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 ||
You can’t perform that action at this time.
0 commit comments