summaryrefslogtreecommitdiffstats
path: root/bin/release
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-01-08 18:37:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-01-08 18:37:24 (GMT)
commit2ac77da499ca7e4dc5df553f7bf7d2ac279eb2de (patch)
treed30f170a49ca3186bc8beddac7bf3523dfdb1ad3 /bin/release
parent596f9b43271b088bf4f13783024f0a75ac05011c (diff)
downloadhdf5-2ac77da499ca7e4dc5df553f7bf7d2ac279eb2de.zip
hdf5-2ac77da499ca7e4dc5df553f7bf7d2ac279eb2de.tar.gz
hdf5-2ac77da499ca7e4dc5df553f7bf7d2ac279eb2de.tar.bz2
[svn-r16283] Description:
Bring revisions 16218:16280 back from trunk. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'bin/release')
-rwxr-xr-xbin/release49
1 files changed, 12 insertions, 37 deletions
diff --git a/bin/release b/bin/release
index 921e125..b41c5d4 100755
--- a/bin/release
+++ b/bin/release
@@ -14,42 +14,10 @@
# access to either file, you may request a copy from help@hdfgroup.org.
#
-# Make a release of hdf5. The command-line switches are:
+# Make a release of hdf5.
#
-# -d DIR The name of the directory where the releas(es) should be
-# placed. By default, the directory is ./releases
-#
-# --nocheck Ignore errors in MANIFEST file.
-#
-# --private Make a private release with today's date in version information.
-#
-# The other command-line options are the names of the programs to use
-# for compressing the resulting tar archive (if none are given then
-# `tar md5' is assumed):
-#
-# tar -- use tar and don't do any compressing.
-# compress -- use compress and append `.Z' to the output name.
-# gzip -- use gzip with `-9' and append `.gz' to the output name.
-# bzip2 -- use bzip2 with `-9' and append `.bz2' to the output name.
-# md5 -- produce a md5 checksum in addition to the archive.
-# doc -- produce the latest doc tree in addition to the archive.
-#
-# Examples:
-#
-# $ release
-# releases/hdf5-1.0.38.tar
-# releases/hdf5-1.0.38.tar.md5
-#
-# $ release gzip
-# releases/hdf5-1.0.38.tar.gz
-#
-# $ release -d /tmp tar compress gzip bzip2 md5 doc
-# /tmp/hdf5-1.0.38.tar
-# /tmp/hdf5-1.0.38.tar.Z
-# /tmp/hdf5-1.0.38.tar.gz
-# /tmp/hdf5-1.0.38.tar.bz2
-# /tmp/hdf5-1.0.38.tar.md5
-# /tmp/hdf5-1.0.38_doc.tar
+# Programmer: Robb Matzke
+# Creation date: on or before 1998-01-29.
#
# Modifications
# Robb Matzke, 1999-07-16
@@ -59,6 +27,12 @@
# Albert Cheng, 1999-10-26
# Moved the MANIFEST checking to a separate command file so that
# it can be invoked individually.
+#
+# Albert Cheng, 2004-08-14
+# Added the --private option.
+#
+# James Laird, 2005-09-07
+# Added the md5 method.
# Function definitions
#
@@ -225,10 +199,11 @@ ln -s `pwd` $tmpdir/$HDF5_VERS || exit 1
mv Makefile $tmpdir/Makefile.x 2>/dev/null #might fail
cp -p Makefile.dist Makefile
-# Update README.txt and release_docs/RELEASE.txt with release information.
+# 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
- tail +2l $f >>$f.x
+ sed -e 1d $f >>$f.x
mv $f.x $f
# Make sure new files are of the right access mode
chmod 644 $f