summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2011-06-15 22:58:13 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2011-06-15 22:58:13 (GMT)
commitd6bf9ca5c3bbc8eff074ad06e01ab2cdd617b221 (patch)
treecd89f35867b27ad3dd66217931c222f42c8756c9 /bin
parent944382796a2f241de74e98d1ebed715d7c9025a1 (diff)
downloadhdf5-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')
-rwxr-xr-xbin/release3
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