Updating pulumictl usage in windows build
This commit is contained in:
parent
63857ac72d
commit
555dc2c3cf
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue