Add version update to CMakeLists in maketgz

pull/184/head
Brad House 7 years ago
parent ca9ccb9395
commit 4f44016a2f
  1. 2
      CMakeLists.txt
  2. 3
      RELEASE-PROCEDURE.md
  3. 3
      maketgz

@ -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).

@ -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.

@ -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`;

Loading…
Cancel
Save