From 686ef404b8718ab4fa40c2f10633a1f69375c20d Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Sun, 16 Mar 2014 10:16:49 -0700 Subject: [PATCH] improve setversion script. set version 2.0.1 --- CMakeLists.txt | 2 +- dox | 2 +- setversion.py | 6 +++--- tinyxml2.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 973a063..fff99d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ include(GNUInstallDirs) ################################ # set lib version here -set(GENERIC_LIB_VERSION "2.0.0") +set(GENERIC_LIB_VERSION "2.0.1") set(GENERIC_LIB_SOVERSION "2") diff --git a/dox b/dox index b9eb25e..f7f46fe 100755 --- a/dox +++ b/dox @@ -32,7 +32,7 @@ PROJECT_NAME = "TinyXML-2" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 2.0.0 +PROJECT_NUMBER = 2.0.1 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer diff --git a/setversion.py b/setversion.py index ea5590e..a73d94f 100755 --- a/setversion.py +++ b/setversion.py @@ -113,6 +113,6 @@ def cmakeRule2( line ): fileProcess( "CMakeLists.txt", cmakeRule2 ) print( "Release note:" ) -print( '1. Build. Ex: g++ -Wall -DDEBUG tinyxml2.cpp xmltest.cpp -o gccxmltest.exe' ) -print( '2. Commit. git commit -am"setting the version to ` + versionStr + '" ) -print( '3. Tag. git tag ' + versionStr ) +print( '1. Build. g++ -Wall -DDEBUG tinyxml2.cpp xmltest.cpp -o gccxmltest.exe' ) +print( '2. Commit. git commit -am"setting the version to ' + versionStr + '"' ) +print( '3. Tag. git tag ' + versionStr ) diff --git a/tinyxml2.h b/tinyxml2.h index 3df3e8d..2ecd6d8 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -121,7 +121,7 @@ inline int TIXML_SNPRINTF( char* buffer, size_t size, const char* format, ... ) */ static const int TIXML2_MAJOR_VERSION = 2; static const int TIXML2_MINOR_VERSION = 0; -static const int TIXML2_PATCH_VERSION = 0; +static const int TIXML2_PATCH_VERSION = 1; namespace tinyxml2 {