Skip to content

Commit

Permalink
chore(ci): use version instead of rawVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Jul 30, 2022
1 parent 6ad2558 commit 402e7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ builds:
- -trimpath
ldflags:
- -s -w
- -X {{ .ModulePath }}/global.Version={{ .RawVersion }}
- -X {{ .ModulePath }}/global.Version={{ .Version }}
- -X {{ .ModulePath }}/global.Commit={{ .ShortCommit }}
- -X {{ .ModulePath }}/global.CommitDate={{ .CommitDate }}
mod_timestamp: '{{ .CommitTimestamp }}'
Expand Down

0 comments on commit 402e7ec

Please sign in to comment.