Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 5299928

Browse files
committed
CODEXL-4051 - JenkinsConfiguration.txt reads version from VersionInfo.h
1 parent 209841b commit 5299928

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

CodeXL/Installer/JenkinsConfiguration.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ Define "RELEASEDIR" "[COMPPATH]\Output\Release"
1818
Define "DEBUGDIR" "[COMPPATH]\Output\Debug"
1919
Define "ALLPROJECTS" "[CXLPATH]\AllProjectsBuild"
2020

21-
Define "MAJOR" "2"
22-
Define "MINOR" "6"
2321
Define "UPDATE" "0"
2422

2523
Always
2624
Log "[P4ROOT]\CodeXL_Build.log"
2725

26+
// read version number from VersionInfo.h
27+
Version "[COMMONSRCPATH]\VersionInfo\VersionInfo.h" "#define CODEXL_MAJOR_AND_MINOR_VERSION [GETMAJOR],[0-9]+,[0-9]+,[0-9]+"
28+
Version "[COMMONSRCPATH]\VersionInfo\VersionInfo.h" "#define CODEXL_MAJOR_AND_MINOR_VERSION [0-9]+,[GETMINOR],[0-9]+,[0-9]+"
29+
2830
Image
2931

3032

0 commit comments

Comments
 (0)