From 2d8813dfd9ba5253cf6d3321e9a86e585a82a6dd Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 22:50:51 +1100 Subject: [PATCH 1/8] Bumping release number to 0.11.2-rc0 --- boost/network/version.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 6b870bfec..8fcf5a361 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -9,9 +9,9 @@ #include -#define BOOST_NETLIB_VERSION_MAJOR 0 -#define BOOST_NETLIB_VERSION_MINOR 11 -#define BOOST_NETLIB_VERSION_INCREMENT 1 +#define BOOST_NETLIB_VERSION_MAJOR $BOOST_NETLIB_VERSION_MAJOR +#define BOOST_NETLIB_VERSION_MINOR $BOOST_NETLIB_VERSION_MINOR +#define BOOST_NETLIB_VERSION_INCREMENT $BOOST_NETLIB_VERSION_INCREMENT #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \ From 80a715fac84a17c889d40ba51ed289e389ae14c3 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 22:54:58 +1100 Subject: [PATCH 2/8] Revert "Bumping release number to 0.11.2-rc0" This reverts commit 2d8813dfd9ba5253cf6d3321e9a86e585a82a6dd. --- boost/network/version.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 8fcf5a361..6b870bfec 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -9,9 +9,9 @@ #include -#define BOOST_NETLIB_VERSION_MAJOR $BOOST_NETLIB_VERSION_MAJOR -#define BOOST_NETLIB_VERSION_MINOR $BOOST_NETLIB_VERSION_MINOR -#define BOOST_NETLIB_VERSION_INCREMENT $BOOST_NETLIB_VERSION_INCREMENT +#define BOOST_NETLIB_VERSION_MAJOR 0 +#define BOOST_NETLIB_VERSION_MINOR 11 +#define BOOST_NETLIB_VERSION_INCREMENT 1 #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \ From d2628b2f4271e913e743f0a3f5cf3dda66f55337 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 22:55:29 +1100 Subject: [PATCH 3/8] Bumping release number to 80a715fac84a17c889d40ba51ed289e389ae14c3 --- boost/network/version.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 6b870bfec..4c33d970a 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -9,9 +9,9 @@ #include -#define BOOST_NETLIB_VERSION_MAJOR 0 -#define BOOST_NETLIB_VERSION_MINOR 11 -#define BOOST_NETLIB_VERSION_INCREMENT 1 +#define BOOST_NETLIB_VERSION_MAJOR 80a715fac84a17c889d40ba51ed289e389ae14c3 +#define BOOST_NETLIB_VERSION_MINOR +#define BOOST_NETLIB_VERSION_INCREMENT #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \ From 486074efef23c40eb0f9c2af621e2e056541ea59 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 22:55:38 +1100 Subject: [PATCH 4/8] Revert "Bumping release number to 80a715fac84a17c889d40ba51ed289e389ae14c3" This reverts commit d2628b2f4271e913e743f0a3f5cf3dda66f55337. --- boost/network/version.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 4c33d970a..6b870bfec 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -9,9 +9,9 @@ #include -#define BOOST_NETLIB_VERSION_MAJOR 80a715fac84a17c889d40ba51ed289e389ae14c3 -#define BOOST_NETLIB_VERSION_MINOR -#define BOOST_NETLIB_VERSION_INCREMENT +#define BOOST_NETLIB_VERSION_MAJOR 0 +#define BOOST_NETLIB_VERSION_MINOR 11 +#define BOOST_NETLIB_VERSION_INCREMENT 1 #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \ From 7488dc8b68d3736ad5a80b294777162aa126dad5 Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 22:57:22 +1100 Subject: [PATCH 5/8] Bumping release number to 0.11.2-rc0 --- boost/network/version.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 6b870bfec..14d6770ff 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -11,7 +11,7 @@ #define BOOST_NETLIB_VERSION_MAJOR 0 #define BOOST_NETLIB_VERSION_MINOR 11 -#define BOOST_NETLIB_VERSION_INCREMENT 1 +#define BOOST_NETLIB_VERSION_INCREMENT 2 #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \ From 909debabdebb6ac830a8768cec909dad20c8dabb Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 22:57:53 +1100 Subject: [PATCH 6/8] Revert "Bumping release number to 0.11.2-rc0" This reverts commit 7488dc8b68d3736ad5a80b294777162aa126dad5. --- boost/network/version.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 14d6770ff..6b870bfec 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -11,7 +11,7 @@ #define BOOST_NETLIB_VERSION_MAJOR 0 #define BOOST_NETLIB_VERSION_MINOR 11 -#define BOOST_NETLIB_VERSION_INCREMENT 2 +#define BOOST_NETLIB_VERSION_INCREMENT 1 #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \ From d42c17ca013a9240854295a57b38d1293156304a Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 23:00:48 +1100 Subject: [PATCH 7/8] Update package script for package auto-bump. --- package.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/package.sh b/package.sh index fbc517ea4..4f2abda9b 100755 --- a/package.sh +++ b/package.sh @@ -12,6 +12,27 @@ if [ "$VERSION" == "" ]; then VERSION="`git log --format=oneline | awk '{print $1}' | head -1`" fi +# Break down the version in form "M.m.p" into individual variables. +BOOST_NETLIB_VERSION_MAJOR=`echo $VERSION | sed 's/[\._\-]/ /g' | awk '{print $1}'` +BOOST_NETLIB_VERSION_MINOR=`echo $VERSION | sed 's/[\._\-]/ /g' | awk '{print $2}'` +BOOST_NETLIB_VERSION_INCREMENT=`echo $VERSION | sed 's/[\._\-]/ /g' | awk '{print $3}'` + +echo $BOOST_NETLIB_VERSION_MAJOR +echo $BOOST_NETLIB_VERSION_MINOR +echo $BOOST_NETLIB_VERSION_INCREMENT + +# Then update the version. +sed -i '' 's/BOOST_NETLIB_VERSION_MAJOR [0-9]*/BOOST_NETLIB_VERSION_MAJOR '$BOOST_NETLIB_VERSION_MAJOR'/g' boost/network/version.hpp +sed -i '' 's/BOOST_NETLIB_VERSION_MINOR [0-9]*/BOOST_NETLIB_VERSION_MINOR '$BOOST_NETLIB_VERSION_MINOR'/g' boost/network/version.hpp +sed -i '' 's/BOOST_NETLIB_VERSION_INCREMENT [0-9]*/BOOST_NETLIB_VERSION_INCREMENT '$BOOST_NETLIB_VERSION_INCREMENT'/g' boost/network/version.hpp + +# Show the diff +git diff boost/network/version.hpp + +# Commit the change +git add boost/network/version.hpp +git commit -m"Bumping release number to $VERSION" + TAG="cpp-netlib-$VERSION" git tag $TAG echo "Tagged $TAG." From 1af62a1e9407a94a34f0b669f0dd08d9542f1c4c Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Mon, 16 Mar 2015 23:02:10 +1100 Subject: [PATCH 8/8] Bumping release number to 0.11.2-rc0 --- boost/network/version.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/network/version.hpp b/boost/network/version.hpp index 6b870bfec..14d6770ff 100644 --- a/boost/network/version.hpp +++ b/boost/network/version.hpp @@ -11,7 +11,7 @@ #define BOOST_NETLIB_VERSION_MAJOR 0 #define BOOST_NETLIB_VERSION_MINOR 11 -#define BOOST_NETLIB_VERSION_INCREMENT 1 +#define BOOST_NETLIB_VERSION_INCREMENT 2 #ifndef BOOST_NETLIB_VERSION #define BOOST_NETLIB_VERSION \