Skip to content

Commit 9926a21

Browse files
committed
Get that version number right.
1 parent 992e5b2 commit 9926a21

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

source/VersionInfoString.h

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)