[build] Passing the correct version to the ldflag in the DotNet SDK
This commit is contained in:
parent
dbac818c5d
commit
16a68cfd92
|
@ -68,10 +68,10 @@ test_all:: dotnet_test
|
|||
$(GO_TEST) ${PROJECT_PKGS}
|
||||
|
||||
dist::
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGHOST_PKG}
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${DOTNET_VERSION}" ${LANGHOST_PKG}
|
||||
|
||||
brew:: dist
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${VERSION}" ${LANGHOST_PKG}
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v2/go/common/version.Version=${DOTNET_VERSION}" ${LANGHOST_PKG}
|
||||
|
||||
publish:: build install
|
||||
echo "Publishing .nupkgs to nuget.org:"
|
||||
|
|
Loading…
Reference in a new issue