diff options
-rw-r--r-- | ci/azure-steps.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index ef31208..66a7eed 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -102,6 +102,10 @@ steps: $vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" } + ## A multiline commit message containing "=" can interact badly with this + ## hack to extract the environment from vcvarsall.bat + Remove-Item env:BUILD_SOURCEVERSIONMESSAGE + ## ask cmd.exe to output the environment table after the batch file completes $tempFile = [IO.Path]::GetTempFileName() cmd /c " `"$vcvars`" $env:arch && set > `"$tempFile`" " |