From 555dc2c3cff08ed58838516ba5119dfe5f09db6f Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 10 Mar 2021 22:47:50 +0000 Subject: [PATCH] Updating pulumictl usage in windows build --- scripts/make_release.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make_release.ps1 b/scripts/make_release.ps1 index fd7dd01dc..1b5199ba1 100644 --- a/scripts/make_release.ps1 +++ b/scripts/make_release.ps1 @@ -6,7 +6,7 @@ $Root=Join-Path $PSScriptRoot ".." $PublishDir=New-Item -ItemType Directory -Path "$env:TEMP\$([System.IO.Path]::GetRandomFileName())" $GitHash=$(git rev-parse HEAD) $PublishFile="$(Split-Path -Parent -Path $PublishDir)\$GitHash.zip" -$Version = $( & "pulumictl get version --language python") +$Version = $(pulumictl get version) $Branch = $(if (Test-Path env:APPVEYOR_REPO_BRANCH) { $env:APPVEYOR_REPO_BRANCH } else { $(git rev-parse --abbrev-ref HEAD) }) $PublishTargets = @($GitHash, $Version, $Branch)