Skip to content

Commit

Permalink
use correct version variable in ld flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Oct 6, 2021
1 parent 70c1461 commit 08e96fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project_name: infra
builds:
- id: infra
ldflags:
- -s -w -X github.com/infrahq/infra/internal/version.Version={{ .Version }}
- -s -w -X github.com/infrahq/infra/internal.Version={{ .Version }}
binary: infra
main: ./main.go
goos:
Expand Down

0 comments on commit 08e96fa

Please sign in to comment.