summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2011-06-15 22:54:20 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2011-06-15 22:54:20 (GMT)
commitb10041b73866d3619ba575152c531b9b46ece288 (patch)
tree1584a0ed07279a79905814fbd2cef679fc64bacc
parent0ecd9627daeca08a07fca7d1b7668455a52dceae (diff)
downloadhdf5-b10041b73866d3619ba575152c531b9b46ece288.zip
hdf5-b10041b73866d3619ba575152c531b9b46ece288.tar.gz
hdf5-b10041b73866d3619ba575152c531b9b46ece288.tar.bz2
[svn-r20985] 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.
-rwxr-xr-xbin/release3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/release b/bin/release
index 0d547df..b7b4d2c 100755
--- a/bin/release
+++ b/bin/release
@@ -97,6 +97,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
@@ -211,7 +212,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