Skip to content

Commit 4399814

Browse files
authored
Update bin/h5vers to omit any subversion in the "Executive Summary" line (#5898)
Update bin/h5vers to omit subversion in "Executive Summary" line of CHANGELOG.md. Prevents confusion on GitHub HDF5 Releases page by aligning version display with snapshot tar.gz and zip files.
1 parent a9ba491 commit 4399814

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bin/h5vers

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,8 @@ if ($CHANGELOG) {
321321

322322
for (my $i = 0; $i < $#contents; ++$i) {
323323
if ($contents[$i] =~ /^# 🔆 Executive Summary: HDF5 Version/) {
324-
$contents[$i] = sprintf("# 🔆 Executive Summary: HDF5 Version %d.%d.%d%s\n",
325-
@newver[0,1,2],
326-
$newver[3] eq "" ? "" : "-".$newver[3]);
324+
$contents[$i] = sprintf("# 🔆 Executive Summary: HDF5 Version %d.%d.%d\n", @newver[0,1,2]);
325+
@newver[0,1,2]);
327326
last;
328327
}
329328
}

release_docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For releases prior to version 2.0.0, please see the release.txt file and for mor
2121
* [Platforms Tested](CHANGELOG.md#%EF%B8%8F-platforms-tested)
2222
* [Known Problems](CHANGELOG.md#-known-problems)
2323

24-
# 🔆 Executive Summary: HDF5 Version 2.0.0-3
24+
# 🔆 Executive Summary: HDF5 Version 2.0.0
2525

2626
## Performance Enhancements:
2727

0 commit comments

Comments
 (0)