diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-05-10 15:24:06 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-05-10 15:24:06 (GMT) |
commit | 187b151e0a23493d3be2578926093570f1d2559e (patch) | |
tree | 9f348c85b5855bf638798fd11129825016490d97 /bin/release | |
parent | b6446f2a6f3be0882e10cd29347fef07570c66d5 (diff) | |
download | hdf5-187b151e0a23493d3be2578926093570f1d2559e.zip hdf5-187b151e0a23493d3be2578926093570f1d2559e.tar.gz hdf5-187b151e0a23493d3be2578926093570f1d2559e.tar.bz2 |
[svn-r3905] Purpose:
new feature
Description:
Added feature to update RELEASE.txt with release information just
like what happens to README. Make a copy of RELEASE.txt to accompany
the tarball file(s).
Also moved the umask command up to cover all files created on the fly.
Platforms tested:
Worked for 1.5, got to work the same.
Diffstat (limited to 'bin/release')
-rwxr-xr-x | bin/release | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/bin/release b/bin/release index 8eb651e..e5d61c9 100755 --- a/bin/release +++ b/bin/release @@ -99,11 +99,22 @@ test -h ../hdf5-$VERS && rm ../hdf5-$VERS ln -s `pwd` ../hdf5-$VERS || exit 1 mv Makefile ../Makefile.x 2>/dev/null #might fail cp -p Makefile.dist Makefile -# synchronize the HISTORY and RELEASE files in the doc area -cp HISTORY.txt RELEASE.txt doc/html/ADGuide/. + +# 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/. + +# Create the tar file test "$verbose" && echo " Running tar..." 1>&2 ( \ cd ..; \ @@ -112,8 +123,6 @@ test "$verbose" && echo " Running tar..." 1>&2 ) # Compress -# Make sure new files are of the right access mode -umask 0133 for comp in $methods; do case $comp in tar) @@ -130,6 +139,10 @@ 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 + # Remove temporary things test -f ../Makefile.x && mv ../Makefile.x Makefile rm -f $MANIFEST |