diff --git a/components/fctl/.goreleaser.yml b/components/fctl/.goreleaser.yml index ea64af0bc5..c0e3ab3fc3 100644 --- a/components/fctl/.goreleaser.yml +++ b/components/fctl/.goreleaser.yml @@ -12,9 +12,9 @@ builds: - binary: fctl id: fctl ldflags: - - -X github.com/formancehq/fctl/cmd.BuildDate={{ .Date }} - - -X github.com/formancehq/fctl/cmd.Version={{ .Version }} - - -X github.com/formancehq/fctl/cmd.Commit={{ .ShortCommit }} + - -X github.com/formancehq/fctl/cmd/version.BuildDate={{ .Date }} + - -X github.com/formancehq/fctl/cmd/version.Version={{ .Version }} + - -X github.com/formancehq/fctl/cmd/version.Commit={{ .ShortCommit }} - -X github.com/formancehq/fctl/pkg.DefaultSegmentWriteKey={{ .Env.SEGMENT_WRITE_KEY }} - -extldflags "-static" env: