Skip to content

Commit

Permalink
Merge pull request #14 from pulumi/fix-version
Browse files Browse the repository at this point in the history
[internal] Ensure we set the version correctly in the ldflag
  • Loading branch information
stack72 committed Jun 17, 2022
2 parents efc5b9b + 3858c9e commit e33b140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ builds:
- windows
- linux
ldflags:
- -X github.com/pulumi/pulumi-kubernetes-ingress-nginx/provider/pkg/version.Version={{.Tag }}
- -X github.com/pulumi/pulumi-kubernetes-ingress-nginx/pkg/version.Version={{.Tag }}
main: ./cmd/pulumi-resource-kubernetes-ingress-nginx/
changelog:
skip: true
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
package version

// Version is initialized by the Go linker to contain the semver of this build.
var Version string = "0.0.1"
var Version string

0 comments on commit e33b140

Please sign in to comment.