diff options
author | Pete Batard <pbatard@gmail.com> | 2010-10-04 15:47:22 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-10-04 15:47:22 +0100 |
commit | 1bcfd9de9d4ca84ee430cec2a1f0257541f55178 (patch) | |
tree | aaf8a980dd78c39d215878cf4e5041de0d4e8d01 | |
parent | 55b62476e318f9e761836748ad813deefb51d9c9 (diff) | |
download | libusb-1bcfd9de9d4ca84ee430cec2a1f0257541f55178.tar.gz |
new_enum/hotplug branch: offset 9000
-rw-r--r-- | bump.sh | 8 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libusb/libusb_version.h | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -14,12 +14,12 @@ if [ ! -n "$1" ]; then else TAG=$1 fi -if [ ! ${TAG:0:3} = 'pbr' ]; then - echo Tag "$TAG" does not start with 'pbr' - aborting +if [ ! ${TAG:0:3} = 'pbh' ]; then + echo Tag "$TAG" does not start with 'pbh' - aborting exit 1 fi TAGVER=${TAG:3} -OFFSET=10000 +OFFSET=9000 # increment - ideally, we'd check that tagver is really numeric here TAGVER=`expr $TAGVER + 1` TAGVER_OFF=`expr $TAGVER + $OFFSET` @@ -30,4 +30,4 @@ mv configure.ac~ configure.ac sed -e "s/\(^#define LIBUSB_VERSION_NANO.*\)/#define LIBUSB_VERSION_NANO $TAGVER_OFF/" libusb/libusb_version.h > libusb/libusb_version.h~ mv libusb/libusb_version.h~ libusb/libusb_version.h git commit -a -m "bumped internal version" -git tag "pbr$TAGVER"
\ No newline at end of file +git tag "pbh$TAGVER"
\ No newline at end of file diff --git a/configure.ac b/configure.ac index 2fa8dc9..960c470 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ m4_define(LIBUSB_MAJOR, [1]) m4_define(LIBUSB_MINOR, [0]) m4_define(LIBUSB_MICRO, [8]) -m4_define(LIBUSB_NANO, [10307]) +m4_define(LIBUSB_NANO, [9307]) AC_INIT([libusb], LIBUSB_MAJOR.LIBUSB_MINOR.LIBUSB_MICRO, [libusb-devel@lists.sourceforge.net], [libusb], [http://www.libusb.org/]) diff --git a/libusb/libusb_version.h b/libusb/libusb_version.h index 9c0b882..58f2d22 100644 --- a/libusb/libusb_version.h +++ b/libusb/libusb_version.h @@ -24,6 +24,6 @@ #define LIBUSB_VERSION_MAJOR 1 #define LIBUSB_VERSION_MINOR 0 #define LIBUSB_VERSION_MICRO 8 -#define LIBUSB_VERSION_NANO 10307 +#define LIBUSB_VERSION_NANO 9307 #endif |