Ensure we pass a v prefix to the version string on Windows (#6598)
This commit is contained in:
parent
b02fc34b72
commit
8369bf22e4
|
@ -193,6 +193,10 @@ jobs:
|
|||
run: |
|
||||
cd src\github.com\${{ github.repository }}
|
||||
dotnet msbuild /t:Build /v:Detailed build.proj /p:PulumiRoot="D:\\Pulumi"
|
||||
- run: |
|
||||
which pulumi
|
||||
pulumi version
|
||||
shell: bash
|
||||
- name: Run Pulumi Tests
|
||||
run: |
|
||||
cd src\github.com\${{ github.repository }}
|
||||
|
|
|
@ -247,7 +247,7 @@
|
|||
<Exec Command="pulumictl get version" ConsoleToMSBuild="true">
|
||||
<Output TaskParameter="ConsoleOutput" PropertyName="Version" />
|
||||
</Exec>
|
||||
<Exec Command="go install -ldflags "-X github.com/pulumi/pulumi/pkg/v2/version.Version=$(Version)" github.com/pulumi/pulumi/pkg/v2/cmd/pulumi"
|
||||
<Exec Command="go install -ldflags "-X github.com/pulumi/pulumi/pkg/v2/version.Version=v$(Version)" github.com/pulumi/pulumi/pkg/v2/cmd/pulumi"
|
||||
EnvironmentVariables="GOBIN=$(PulumiBin)"
|
||||
WorkingDirectory="$(PkgDirectory)"/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue