Skip to content

Commit 9407e22

Browse files
committed
CI: Set AppVeyor build version
1 parent 2153570 commit 9407e22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
WLK_INST_CACHE: '%DOKAN_CI_CACHE%\wlk_inst'
1515
DOKAN_MAIN_BUILD_JOB_NAME: "Image: Visual Studio 2017; Configuration: All"
1616

17-
version: 1.2.0-{build}
17+
version: 0.0.0-{build}
1818
configuration:
1919
- All
2020
- Coverity
@@ -221,6 +221,7 @@
221221
$mm_version += $env:APPVEYOR_BUILD_NUMBER;
222222
(Get-Content "${env:APPVEYOR_BUILD_FOLDER}\CHANGELOG.md") -replace '[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,4}', ($env:APPVEYOR_BUILD_VERSION.Split("-")[0] + '.' + $mm_version) | out-file "${env:APPVEYOR_BUILD_FOLDER}\CHANGELOG.md"
223223
$installer_version = $env:APPVEYOR_BUILD_VERSION.Split("-")[0] + '.' + $mm_version;
224+
Update-AppveyorBuild -Version $installer_version
224225
- ps: |
225226
if ($env:CONFIGURATION -eq "All") {
226227
$env:Path = $env:Path + ";C:\Program Files (x86)\WiX Toolset v3.10;C:\Program Files (x86)\Windows Kits\8.1\bin\x64\"

0 commit comments

Comments
 (0)