pulumi/scripts/publish.ps1
Matt Ellis 20199a2400 Publish to "amd64" instead of "x64"
Windows was the odd man out here, everything else used amd64 except
for this repo's windows build.
2017-11-03 17:30:50 -07:00

17 lines
496 B
PowerShell

# publish.ps1 builds and publishes a release.
Set-StrictMode -Version 2.0
$ErrorActionPreference="Stop"
$PublishScript="$(go env GOPATH)\src\github.com\pulumi\home\scripts\publish.ps1"
if (!(Test-Path $PublishScript)) {
Write-Error "Missing publish script at $PublishScript"
}
$ReleaseInfo=& $PSScriptRoot\make_release.ps1
$PublishTargets=${ReleaseInfo}.Targets
& $PublishScript $ReleaseInfo.ArchivePath "pulumi/windows/amd64" @PublishTargets
Remove-Item -Force $ReleaseInfo.ArchivePath