Skip to content

Commit 7e92ad9

Browse files
aaurenmrueg
authored andcommitted
fix(goreleaser): add version and date to published binaries
1 parent d90c753 commit 7e92ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ builds:
1616
env:
1717
- CGO_ENABLED=0
1818
ldflags:
19-
- "-X github.com/cloudnativelabs/kube-router/pkg/cmd.version={{.Version}}"
20-
- "-X github.com/cloudnativelabs/kube-router/pkg/cmd.buildDate={{.Date}}"
19+
- "-X github.com/cloudnativelabs/kube-router/pkg/version.Version={{.Version}}"
20+
- "-X github.com/cloudnativelabs/kube-router/pkg/version.BuildDate={{.Date}}"
2121

2222
archives:
2323
-

0 commit comments

Comments
 (0)