diff options
-rwxr-xr-x | bin/snapshot | 7 | ||||
-rw-r--r-- | src/H5public.h | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/bin/snapshot b/bin/snapshot index 24776db..31b28f3 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -15,6 +15,9 @@ if [ "$1" ]; then shift fi +# What compression methods to use? +METHODS="gzip bzip2" + # Create a working directory. Hopefully one is left over from last # time that still has the contents of the previous release. But if # not, just create one and assume that a snapshot is necessary. @@ -30,7 +33,7 @@ cvs -Q co -d ${COMPARE}/current hdf5 || exit 1 # Compare it with the previous version. if [ -d ${COMPARE}/previous ]; then - if (diff -r -I H5_VERS_RELEASE -I " release on " \ + if (diff -r -I H5_VERS_RELEASE -I " released on " \ ${COMPARE}/previous ${COMPARE}/current >/dev/null); then update=yes else @@ -43,7 +46,7 @@ fi # Release snapshot, update version, and commit to cvs if [ "$update" = "yes" ]; then (cd ${COMPARE}/current; \ - ./bin/release -d $ARCHIVES tar compress gzip bzip2; \ + ./bin/release -d $ARCHIVES $METHODS; \ ./bin/h5vers -i; \ cvs -Q commit -m Snapshot ) fi diff --git a/src/H5public.h b/src/H5public.h index 40a203c..862da2f 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -27,7 +27,7 @@ /* Version numbers */ #define H5_VERS_MAJOR 1 /* For major interface/format changes */ #define H5_VERS_MINOR 0 /* For minor interface/format changes */ -#define H5_VERS_RELEASE 39 /* For tweaks, bug-fixes, or development */ +#define H5_VERS_RELEASE 41 /* For tweaks, bug-fixes, or development */ #define H5check() H5vers_check(H5_VERS_MAJOR,H5_VERS_MINOR, \ H5_VERS_RELEASE) |