diff options
author | Pete Batard <pbatard@gmail.com> | 2011-05-09 21:43:10 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2011-05-09 21:43:10 +0100 |
commit | 6ffaea6307d9026b39378ec9eb4ae6e8677e0208 (patch) | |
tree | 43bde10ec8b3ae0423804820a1e97dab0f5b2e06 | |
parent | fb7c03b1c7b08e0c4061e420ac637962e2ba837c (diff) | |
download | libusb-6ffaea6307d9026b39378ec9eb4ae6e8677e0208.tar.gz |
[internal] modified _bump scriptpbr337
-rw-r--r-- | _bump.sh | 6 | ||||
-rw-r--r-- | libusb/version.h | 2 |
2 files changed, 3 insertions, 5 deletions
@@ -27,10 +27,8 @@ OFFSET=10000 TAGVER=`expr $TAGVER + 1` TAGVER_OFF=`expr $TAGVER + $OFFSET` echo "Bumping version to pbr$TAGVER (nano: $TAGVER_OFF)" -sed -e "s/\(^m4_define(LIBUSB_NANO.*\)/m4_define(LIBUSB_NANO, [$TAGVER_OFF])/" configure.ac >> configure.ac~ -mv configure.ac~ configure.ac # we're duplicating libusb_version.h generation here, but that avoids having to run configure -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 +sed -e "s/\(^#define\s*LIBUSB_NANO.*\)/#define LIBUSB_NANO $TAGVER_OFF/" libusb/version.h > libusb/version.h~ +mv libusb/version.h~ libusb/version.h git commit -a -m "[internal] bumped internal version" -e git tag "pbr$TAGVER"
\ No newline at end of file diff --git a/libusb/version.h b/libusb/version.h index d8334ec..eee58a4 100644 --- a/libusb/version.h +++ b/libusb/version.h @@ -9,5 +9,5 @@ #define LIBUSB_MICRO 8 #endif #ifndef LIBUSB_NANO -#define LIBUSB_NANO 0 +#define LIBUSB_NANO 10337 #endif |