diff --git a/appveyor.yml b/appveyor.yml index 5a31aff..c068054 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,8 +8,9 @@ branches: init: - ps: | if ($env:APPVEYOR_REPO_TAG -eq "true") { - $requestedVersion = "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))" - Update-AppveyorBuild -Version $requestedVersion + $Env:KBFRZ71_VERSION = "$($env:APPVEYOR_REPO_TAG_NAME.TrimStart("v"))" + } else { + $Env:KBFRZ71_VERSION = "" } before_build: @@ -22,7 +23,7 @@ build_script: docker run ` --rm ` --mount "type=bind,source=C:\projects\optimized-azerty-win\bin,target=C:\sources" ` - --env "KBFRZ71_VERSION=1.0.3.40" ` + --env "KBFRZ71_VERSION=$Env:KBFRZ71_VERSION" ` private/msklc:1.4 > build.log - ps: | $content = (Get-Content -Path ".\build.log" -Raw)