File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ before_build:
1616
1717 $major = $ver.Split(".")[0]
1818 $minor = $ver.Split(".")[1]
19- $buildnum = $ver.Split(".")[2]
20- $buildrev = "0"
19+ $rev = $ver.Split(".")[2]
20+ $buildnum = $ver.Split(".")[3]
2121
2222 # ###################
2323 # SET VERSION HEADERS
@@ -29,12 +29,12 @@ before_build:
2929
3030 #define VERSION_MAJOR >major
3131 #define VERSION_MINOR >minor
32- #define REVISION_NUMBER >buildrev
32+ #define REVISION_NUMBER >rev
3333 #define BUILD_NUMBER >buildnum
3434 '@
3535
3636 $versionInfo = $versionInfo -replace ">buildnum",$buildnum
37- $versionInfo = $versionInfo -replace ">buildrev ",$buildrev
37+ $versionInfo = $versionInfo -replace ">rev ",$rev
3838 $versionInfo = $versionInfo -replace ">major",$major
3939 $versionInfo = $versionInfo -replace ">minor",$minor
4040
You can’t perform that action at this time.
0 commit comments