diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-07-10 15:12:34 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-07-10 15:12:34 (GMT) |
commit | f88b0064d359c746cddc05158476ea86eaefc152 (patch) | |
tree | fee94a5e7fb546f109b7b6d5b7dbbafb00591829 /bin/release | |
parent | 26d0f66a4530fdfc6c2bafe465a6ce1a9b67604b (diff) | |
download | hdf5-f88b0064d359c746cddc05158476ea86eaefc152.zip hdf5-f88b0064d359c746cddc05158476ea86eaefc152.tar.gz hdf5-f88b0064d359c746cddc05158476ea86eaefc152.tar.bz2 |
[svn-r478] Changes since 19980709
----------------------
./README
./bin/release
The first line of the README file is updated automatically
by the `release' script to associate a date with a release
number. For example:
This is hdf5-1.0.9a released on 1998-06-09 18:00 UTC
Please refer to the INSTALL file for installation instructions.
./src/H5public.h
Release number incremented. This happens automatically now if
you run the `release' script in `-batch' mode. I'll stop
documenting changes to this file unless they're something
other than a release number change.
./MANIFEST
Added Elena's new files.
Diffstat (limited to 'bin/release')
-rwxr-xr-x | bin/release | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/release b/bin/release index ef79faf..6a6af59 100755 --- a/bin/release +++ b/bin/release @@ -140,6 +140,17 @@ sub release (@) { (setver ($ver=$_) or die "cannot set version") if /\S/; } + # Update the README file to contain the new version and date + # information. + my $today = sprintf "19%02d-%02d-%02d %02d:%02d UTC", (gmtime)[5,4,3,2,1]; + $_ = `cat README`; + s[^(This is hdf5-)\d+.\d+.\d+[a-z]( released on )(\d+-?){3} \d+:\d+ UTC] + [$1$ver$2$today]s; + system ("cp -p README README~"); + open README, ">README" or die "unable to open README: $!\n"; + print README; + close README; + # Move default top-level makefile into place. $status = system "cp Makefile.dist Makefile"; die "cannot install default Makefile" if $status >> 8; |