diff options
author | Pete Batard <pbatard@gmail.com> | 2010-09-21 15:44:44 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-09-21 15:44:44 +0100 |
commit | 91bb08eaba2de855a803bb12a0a044198dbe123c (patch) | |
tree | 6f0845b1695b60553a8b9b1e12c5a432986bbdad | |
parent | c9502f2d1c80f2b4a78816bb199d7778076c576e (diff) | |
download | libusb-91bb08eaba2de855a803bb12a0a044198dbe123c.tar.gz |
[INTERNAL - NOT FOR RELEASE] removed string version handling from bump.sh
-rw-r--r-- | bump.sh | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -27,9 +27,7 @@ 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/" \ - -e "s/^#define LIBUSB_PACKAGE_VERSION[[:blank:]]\"\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.[0-9]*\"/#define LIBUSB_PACKAGE_VERSION \"\1.\2.\3.$TAGVER_OFF\"/" \ - libusb/libusb_version.h > libusb/libusb_version.h~ +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 |