Skip to content

Commit

Permalink
CI: Set AppVeyor build version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rondom committed Nov 4, 2018
1 parent 2153570 commit d5c906e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
WLK_INST_CACHE: '%DOKAN_CI_CACHE%\wlk_inst'
DOKAN_MAIN_BUILD_JOB_NAME: "Image: Visual Studio 2017; Configuration: All"

version: 1.2.0-{build}
version: 0.0.0-{build}
configuration:
- All
- Coverity
Expand Down Expand Up @@ -221,6 +221,7 @@
$mm_version += $env:APPVEYOR_BUILD_NUMBER;
(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"
$installer_version = $env:APPVEYOR_BUILD_VERSION.Split("-")[0] + '.' + $mm_version;
Update-AppveyorBuild -Version $installer_version
- ps: |
if ($env:CONFIGURATION -eq "All") {
$env:Path = $env:Path + ";C:\Program Files (x86)\WiX Toolset v3.10;C:\Program Files (x86)\Windows Kits\8.1\bin\x64\"
Expand Down

0 comments on commit d5c906e

Please sign in to comment.