Skip to content

Commit e33b140

Browse files
authored
Merge pull request #14 from pulumi/fix-version
[internal] Ensure we set the version correctly in the ldflag
2 parents efc5b9b + 3858c9e commit e33b140

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ builds:
2424
- windows
2525
- linux
2626
ldflags:
27-
- -X github.com/pulumi/pulumi-kubernetes-ingress-nginx/provider/pkg/version.Version={{.Tag }}
27+
- -X github.com/pulumi/pulumi-kubernetes-ingress-nginx/pkg/version.Version={{.Tag }}
2828
main: ./cmd/pulumi-resource-kubernetes-ingress-nginx/
2929
changelog:
3030
skip: true

provider/pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
package version
1616

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

0 commit comments

Comments
 (0)