We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 399f6ea commit 18fe97aCopy full SHA for 18fe97a
BuildScripts/default.ps1
@@ -264,7 +264,7 @@ Task -Name RunGitVersion -Depends __InstallGitVersion -Description "Execute the
264
if(isAppVeyor) {
265
Write-Host "Running on AppVeyor, so UpdateAssemblyInfo will be called."
266
& $gitVersionExe /output buildserver /UpdateAssemblyInfo true
267
- $script:version = [Environment]::GetEnvironmentVariable("GitVersion_LegacySemVerPadded", "Machine")
+ $script:version = $env:GitVersion_LegacySemVerPadded
268
} else {
269
$output = & $gitVersionExe
270
$joined = $output -join "`n"
0 commit comments