summaryrefslogtreecommitdiffstats
path: root/bin/release
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-07-06 05:43:38 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-07-06 05:43:38 (GMT)
commit708ee4922c623d170969862221742ae56ca36f44 (patch)
tree0520f44afce07fec2fc41685d7659d7e5ee754b0 /bin/release
parent5308ccd9de5b10c803dee312cc60076704cbbf46 (diff)
downloadhdf5-708ee4922c623d170969862221742ae56ca36f44.zip
hdf5-708ee4922c623d170969862221742ae56ca36f44.tar.gz
hdf5-708ee4922c623d170969862221742ae56ca36f44.tar.bz2
[svn-r4129] Purpose:
update Description: Several files have been renamed or moved to a different location. README => README.txt RELEASE.txt => release_docs/RELEASE.txt HISTORY.txt => release_docs/HISTORY.txt Updated h5vers and release to reflect all these new names/locations. Also made all uses the same beginning phases for the first line of text in README.txt and RELEASE.txt as follows: "HDF5 version ... " Platforms tested: eirene by running the bin/release and bin/h5vers -i.
Diffstat (limited to 'bin/release')
-rwxr-xr-xbin/release29
1 files changed, 13 insertions, 16 deletions
diff --git a/bin/release b/bin/release
index e5d61c9..20e84a5 100755
--- a/bin/release
+++ b/bin/release
@@ -100,19 +100,17 @@ ln -s `pwd` ../hdf5-$VERS || exit 1
mv Makefile ../Makefile.x 2>/dev/null #might fail
cp -p Makefile.dist Makefile
-# Update some files with release information.
-# Make sure new files are of the right access mode
-umask 0133
-# update README
-echo "This is hdf5-$VERS released on `date`" >README.x
-tail +2l README >>README.x
-mv README.x README
-# update RELEASE.txt
-echo "HDF5 version $VERS released on `date`" >RELEASE.x
-tail +2l RELEASE.txt >>RELEASE.x
-mv RELEASE.x RELEASE.txt
-# synchronize the HISTORY and RELEASE files in the doc area
-cp HISTORY.txt RELEASE.txt doc/html/ADGuide/.
+# Update README.txt and release_docs/RELEASE.txt with release information.
+for f in README.txt release_docs/RELEASE.txt; do
+ echo "HDF5 version $VERS released on `date`" >$f.x
+ tail +2l $f >>$f.x
+ mv $f.x $f
+ # Make sure new files are of the right access mode
+ chmod 644 $f
+done
+
+# synchronize the HISTORY.tx and RELEASE.tx files in the doc area
+cp release_docs/HISTORY.txt release_docs/RELEASE.txt doc/html/ADGuide/.
# Create the tar file
test "$verbose" && echo " Running tar..." 1>&2
@@ -139,9 +137,8 @@ for comp in $methods; do
esac
done
-# Copy the RELEASE.txt to the release area. Make it ended with
-# .txt to ensure easy display via web.
-cp RELEASE.txt $DEST/hdf5-$VERS-RELEASE.txt
+# Copy the RELEASE.txt to the release area.
+cp release_docs/RELEASE.txt $DEST/hdf5-$VERS-RELEASE.txt
# Remove temporary things
test -f ../Makefile.x && mv ../Makefile.x Makefile