Skip to content

Change version info in CMakeLists.txt too; closes #475 #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ echo $BOOST_NETLIB_VERSION_INCREMENT
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
sed -i '' 's/CPPNETLIB_VERSION_MAJOR [0-9]+/CPPNETLIB_VERSION_MAJOR '$BOOST_NETLIB_VERSION_MAJOR'/g' CMakeLists.txt
sed -i '' 's/CPPNETLIB_VERSION_MINOR [0-9]+/CPPNETLIB_VERSION_MINOR '$BOOST_NETLIB_VERSION_MINOR'/g' CMakeLists.txt
sed -i '' 's/CPPNETLIB_VERSION_PATCH [0-9]+/CPPNETLIB_VERSION_PATCH '$BOOST_NETLIB_VERSION_INCREMENT'/g' CMakeLists.txt

# Show the diff
git diff boost/network/version.hpp
git diff boost/network/version.hpp CMakeLists.txt

# Commit the change
git add boost/network/version.hpp
git add CMakeLists.txt
git commit -m"Bumping release number to $VERSION"

TAG="cpp-netlib-$VERSION"
Expand Down