mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
Suggested header footer for NEWSLETTER (#4204)
* Suggested header footer for NEWSLETTER * Updates * Add NEWSLETTER.txt to h5vers script
This commit is contained in:
parent
20c570b091
commit
874c473f34
19
bin/h5vers
19
bin/h5vers
@ -184,6 +184,10 @@ die "unable to read file: $README\n" unless -r $file;
|
||||
my $RELEASE = $file;
|
||||
$RELEASE =~ s/[^\/]*$/..\/release_docs\/RELEASE.txt/;
|
||||
die "unable to read file: $RELEASE\n" unless -r $file;
|
||||
# release_docs/NEWSLETTER.txt
|
||||
my $NEWS = $file;
|
||||
$NEWS =~ s/[^\/]*$/..\/release_docs\/NEWSLETTER.txt/;
|
||||
die "unable to read file: $NEWS\n" unless -r $file;
|
||||
# configure.ac
|
||||
my $CONFIGURE = $file;
|
||||
$CONFIGURE =~ s/[^\/]*$/..\/configure.ac/;
|
||||
@ -247,6 +251,7 @@ if ($set) {
|
||||
# Nothing to do but print result
|
||||
$README = "";
|
||||
$RELEASE = "";
|
||||
$NEWS = "";
|
||||
$CONFIGURE = "";
|
||||
$CPP_DOC_CONFIG = "";
|
||||
$LT_VERS = "";
|
||||
@ -329,6 +334,20 @@ if ($RELEASE) {
|
||||
close FILE;
|
||||
}
|
||||
|
||||
# Update the release_docs/NEWSLETTER.txt file
|
||||
if ($NEWS) {
|
||||
open FILE, $NEWS or die "$NEWS: $!\n";
|
||||
my @contents = <FILE>;
|
||||
close FILE;
|
||||
$contents[0] = sprintf("HDF5 version %d.%d.%d%s %s",
|
||||
@newver[0,1,2],
|
||||
$newver[3] eq "" ? "" : "-".$newver[3],
|
||||
"currently under development\n");
|
||||
open FILE, ">$NEWS" or die "$NEWS: $!\n";
|
||||
print FILE @contents;
|
||||
close FILE;
|
||||
}
|
||||
|
||||
# Update the c++/src/cpp_doc_config file
|
||||
if ($CPP_DOC_CONFIG) {
|
||||
my $data = read_file($CPP_DOC_CONFIG);
|
||||
|
@ -1,3 +1,8 @@
|
||||
Release of HDF5 1.14.4 Library and Tools is now available from the HDF5 Releases page.
|
||||
|
||||
This is a maintenance release with a few changes and updates:
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
* Added support for _Float16 16-bit floating-point datatype
|
||||
|
||||
Support for the 16-bit floating-point _Float16 C type has been added to
|
||||
@ -8,3 +13,7 @@
|
||||
data and data of another HDF5 datatype.
|
||||
|
||||
(GitHub #4065, #2154)
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Please see the full release notes for detailed information regarding this release,
|
||||
including a detailed list of changes.
|
Loading…
Reference in New Issue
Block a user