diff --git a/CMakeLists.txt b/CMakeLists.txt index d63b061c..dfca7cb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ INCLUDE (GNUInstallDirs) PROJECT (c-ares C) # Set this version before release -SET (CARES_VERSION "1.14.0") +SET (CARES_VERSION "1.14.1") # This is for libtool compatibility, and specified in a form that is easily # translatable from libtool (even if the actual form doesn't make sense). diff --git a/RELEASE-PROCEDURE.md b/RELEASE-PROCEDURE.md index 0062f4e3..b2fe5863 100644 --- a/RELEASE-PROCEDURE.md +++ b/RELEASE-PROCEDURE.md @@ -6,9 +6,6 @@ in the source code repo - edit `RELEASE-NOTES` to be accurate -- edit `configure.ac` and `CMakeLists.txt` to set the current version. - This is used to generate libcares.pc, otherwise it would not be necessary. - - edit `Makefile.am`'s `CARES_VERSION_INFO`, and `CMakeLists.txt`'s `CARES_LIB_VERSIONINFO` set to the same value to denote the current shared object versioning. diff --git a/maketgz b/maketgz index e582ff3a..684dd832 100755 --- a/maketgz +++ b/maketgz @@ -40,6 +40,9 @@ if(!-f "configure") { print "adding $version in the configure.ac file\n"; `sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version],/' < configure.ac > configure.ac.dist`; +print "adding $version in the CMakeLists.txt file\n"; +`sed -e 's/SET.*CARES_VERSION.*/SET (CARES_VERSION "$version")/' < CMakeLists.txt > CMakeLists.txt.dist && rm -f CMakeLists.txt && mv CMakeLists.txt.dist CMakeLists.txt`; + # now make a new configure script with this print "makes a new configure script\n"; `autoconf configure.ac.dist >configure`;