Skip to content

Commit 18fe97a

Browse files
committed
Let's try using using REST API Method
1 parent 399f6ea commit 18fe97a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildScripts/default.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Task -Name RunGitVersion -Depends __InstallGitVersion -Description "Execute the
264264
if(isAppVeyor) {
265265
Write-Host "Running on AppVeyor, so UpdateAssemblyInfo will be called."
266266
& $gitVersionExe /output buildserver /UpdateAssemblyInfo true
267-
$script:version = [Environment]::GetEnvironmentVariable("GitVersion_LegacySemVerPadded", "Machine")
267+
$script:version = $env:GitVersion_LegacySemVerPadded
268268
} else {
269269
$output = & $gitVersionExe
270270
$joined = $output -join "`n"

0 commit comments

Comments
 (0)