From 6344272570421228c69f6c20eb22f81c03c0f363 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Fri, 21 Jun 2024 07:23:08 +0200 Subject: [PATCH] Change version number --- GenerateNewVersion.py | 6 ------ VERSION | 2 +- include/reactphysics3d/configuration.h | 2 +- include/reactphysics3d/reactphysics3d.h | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/GenerateNewVersion.py b/GenerateNewVersion.py index 7293aaeb4..055faa550 100644 --- a/GenerateNewVersion.py +++ b/GenerateNewVersion.py @@ -40,10 +40,6 @@ def findReplaceText(directory, findRegex, substituteExpr, filePattern): findReplaceText("./", r'([ \t]VERSION[ \t]+)"[\d\.]+"', r'\g<1>"' + newVersion + '"', "CMakeLists.txt") print("Version number has been updated in CMakeLists.txt file") -# Update the RP3D version number in the documentation/API/Doxyfile file -findReplaceText("documentation/API/", r'(PROJECT_NUMBER[ \t]+=[ \t]+)"[\d\.]+"', r'\g<1>"' + newVersion + '"', "Doxyfile") -print("Version number has been updated in documentation/API/Doxyfile file") - # Update the RP3D version number in the documentation/UserManual/title.tex file findReplaceText("documentation/UserManual/", r'(Version:[\s]+)[\d\.]+', r'\g<1>' + newVersion, "title.tex") print("Version number has been updated in documentation/UserManual/title.tex file") @@ -64,5 +60,3 @@ def findReplaceText(directory, findRegex, substituteExpr, filePattern): findReplaceText("include/", '(Copyright ' + re.escape("(c)") + r' 2010-)[\d]+', r'\g<1>' + str(date.today().year), "*.h") findReplaceText("src/", '(Copyright ' + re.escape("(c)") + r' 2010-)[\d]+', r'\g<1>' + str(date.today().year), "*.cpp") print("Copyright date in license has been updated in all source code files") - -print("WARNING: Do not forget to manually update the SOVERSION number in the CMakeLists.txt file") diff --git a/VERSION b/VERSION index 78bc1abd1..571215736 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.0 +0.10.1 diff --git a/include/reactphysics3d/configuration.h b/include/reactphysics3d/configuration.h index df744e6ba..1481c8497 100644 --- a/include/reactphysics3d/configuration.h +++ b/include/reactphysics3d/configuration.h @@ -149,7 +149,7 @@ constexpr decimal SAME_CONTACT_POINT_DISTANCE_THRESHOLD = decimal(0.01); constexpr uint8 GLOBAL_ALIGNMENT = 16; /// Current version of ReactPhysics3D -const std::string RP3D_VERSION = std::string("0.10.0"); +const std::string RP3D_VERSION = std::string("0.10.1"); } diff --git a/include/reactphysics3d/reactphysics3d.h b/include/reactphysics3d/reactphysics3d.h index 30a1a7514..e429a88af 100644 --- a/include/reactphysics3d/reactphysics3d.h +++ b/include/reactphysics3d/reactphysics3d.h @@ -26,7 +26,7 @@ /******************************************************************************** * ReactPhysics3D * -* Version 0.10.0 * +* Version 0.10.1 * * http://www.reactphysics3d.com * * Daniel Chappuis * ********************************************************************************/