diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2011-06-15 22:58:13 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2011-06-15 22:58:13 (GMT) |
commit | d6bf9ca5c3bbc8eff074ad06e01ab2cdd617b221 (patch) | |
tree | cd89f35867b27ad3dd66217931c222f42c8756c9 /bin/release | |
parent | 944382796a2f241de74e98d1ebed715d7c9025a1 (diff) | |
download | hdf5-d6bf9ca5c3bbc8eff074ad06e01ab2cdd617b221.zip hdf5-d6bf9ca5c3bbc8eff074ad06e01ab2cdd617b221.tar.gz hdf5-d6bf9ca5c3bbc8eff074ad06e01ab2cdd617b221.tar.bz2 |
[svn-r20986] Changed the release date format to yyyy-mm-dd from the previous `date` form.
Tested: Jam by running bin/release and eyeballed the new date format.
Diffstat (limited to 'bin/release')
-rwxr-xr-x | bin/release | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/release b/bin/release index c335028..be8eb14 100755 --- a/bin/release +++ b/bin/release @@ -93,6 +93,7 @@ VERS_OLD= test "$VERS" || exit 1 verbose=yes check=yes +release_date=`date +%F` today=`date +%Y%m%d` pmode='no' tmpdir="../#release_tmp.$$" # tmp work directory @@ -203,7 +204,7 @@ cp -p Makefile.dist Makefile # Update README.txt and release_docs/RELEASE.txt with release information in # line 1. for f in README.txt release_docs/RELEASE.txt; do - echo "HDF5 version $VERS released on `date`" >$f.x + echo "HDF5 version $VERS released on $release_date" >$f.x sed -e 1d $f >>$f.x mv $f.x $f # Make sure new files are of the right access mode |