mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-24 17:51:25 +08:00
[svn-r553] *** empty log message ***
This commit is contained in:
parent
dde81bb76b
commit
b4f144907e
@ -15,6 +15,9 @@ if [ "$1" ]; then
|
|||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# What compression methods to use?
|
||||||
|
METHODS="gzip bzip2"
|
||||||
|
|
||||||
# Create a working directory. Hopefully one is left over from last
|
# Create a working directory. Hopefully one is left over from last
|
||||||
# time that still has the contents of the previous release. But if
|
# time that still has the contents of the previous release. But if
|
||||||
# not, just create one and assume that a snapshot is necessary.
|
# 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.
|
# Compare it with the previous version.
|
||||||
if [ -d ${COMPARE}/previous ]; then
|
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
|
${COMPARE}/previous ${COMPARE}/current >/dev/null); then
|
||||||
update=yes
|
update=yes
|
||||||
else
|
else
|
||||||
@ -43,7 +46,7 @@ fi
|
|||||||
# Release snapshot, update version, and commit to cvs
|
# Release snapshot, update version, and commit to cvs
|
||||||
if [ "$update" = "yes" ]; then
|
if [ "$update" = "yes" ]; then
|
||||||
(cd ${COMPARE}/current; \
|
(cd ${COMPARE}/current; \
|
||||||
./bin/release -d $ARCHIVES tar compress gzip bzip2; \
|
./bin/release -d $ARCHIVES $METHODS; \
|
||||||
./bin/h5vers -i; \
|
./bin/h5vers -i; \
|
||||||
cvs -Q commit -m Snapshot )
|
cvs -Q commit -m Snapshot )
|
||||||
fi
|
fi
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
/* Version numbers */
|
/* Version numbers */
|
||||||
#define H5_VERS_MAJOR 1 /* For major interface/format changes */
|
#define H5_VERS_MAJOR 1 /* For major interface/format changes */
|
||||||
#define H5_VERS_MINOR 0 /* For minor 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, \
|
#define H5check() H5vers_check(H5_VERS_MAJOR,H5_VERS_MINOR, \
|
||||||
H5_VERS_RELEASE)
|
H5_VERS_RELEASE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user