1
0
Эх сурвалжийг харах

improve setversion script. set version 2.0.1

Lee Thomason 12 жил өмнө
parent
commit
686ef404b8
4 өөрчлөгдсөн 6 нэмэгдсэн , 6 устгасан
  1. 1 1
      CMakeLists.txt
  2. 1 1
      dox
  3. 3 3
      setversion.py
  4. 1 1
      tinyxml2.h

+ 1 - 1
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")
 
 

+ 1 - 1
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

+ 3 - 3
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 )

+ 1 - 1
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
 {