Skip to content

Commit 93bdac4

Browse files
committed
ReleaseNotes: skip 'Git for Windows' in the 'since <version>' part
We just added (Javascript) code to render the release notes in a slightly more useful way: instead of stressing the _previous_ version in the section headers, we stress the current version, appending "since <previous-version>" in a smaller font. This part is rendered smaller because it is not actually all that important, and it is definitely not important to mention the project name again... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f376198 commit 93bdac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

render-release-notes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ render_release_notes () {
110110
$v = "snapshot"
111111
}
112112
113-
s/^<h2>Changes since(.*)/<h2>Changes in $v <small>since \1<\/small>/;
113+
s/^<h2>Changes since (?:Git(?: for Windows|-))(.*)/<h2>Changes in $v <small>since \1<\/small>/;
114114
115115
if (!$latest) {
116116
s/>[^<]*/><a name="latest"$&<\/a>/;

0 commit comments

Comments
 (0)