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 /bump.sh | |
parent | 55b62476e318f9e761836748ad813deefb51d9c9 (diff) | |
download | libusb-1bcfd9de9d4ca84ee430cec2a1f0257541f55178.tar.gz |
new_enum/hotplug branch: offset 9000
Diffstat (limited to 'bump.sh')
-rw-r--r-- | bump.sh | 8 |
1 files changed, 4 insertions, 4 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 |