Skip to content

Commit 27d9103

Browse files
committed
TA: updated version string
1 parent 2a08f9e commit 27d9103

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ string(REGEX REPLACE "#define OCS_VERSION_MINOR ([0-9]*)" "\\1" VERSION_MINOR "$
3232
string(REGEX REPLACE "#define OCS_VERSION_PATCH ([0-9]*)" "\\1" VERSION_PATCH "${VERSION_PATCH}")
3333
string(REGEX REPLACE "#define OCS_VERSION_SUFFIX \"([a-z0-0\-]*)\"" "\\1" VERSION_SUFFIX "${VERSION_SUFFIX}")
3434

35+
# @todo Following step should only be done once even if cmake runs in parallel on multiple hosts
3536
# Set the version string and use it to set the version within inst_sge
3637
#set(OCS_VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX}")
3738
#configure_file(

source/libs/sgeobj/ocs_Version.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define OCS_VERSION_MAJOR 9
4040
#define OCS_VERSION_MINOR 0
4141
#define OCS_VERSION_PATCH 3
42-
#define OCS_VERSION_SUFFIX "alpha"
42+
#define OCS_VERSION_SUFFIX ""
4343

4444
const std::string ocs::Version::OCS_VERSION_STRING = std::to_string(OCS_VERSION_MAJOR) + "."
4545
+ std::to_string(OCS_VERSION_MINOR) + "." + std::to_string(OCS_VERSION_PATCH) + OCS_VERSION_SUFFIX;

0 commit comments

Comments
 (0)