Skip to content

Commit 402e7ec

Browse files
committed
chore(ci): use version instead of rawVersion
1 parent 6ad2558 commit 402e7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ builds:
99
- -trimpath
1010
ldflags:
1111
- -s -w
12-
- -X {{ .ModulePath }}/global.Version={{ .RawVersion }}
12+
- -X {{ .ModulePath }}/global.Version={{ .Version }}
1313
- -X {{ .ModulePath }}/global.Commit={{ .ShortCommit }}
1414
- -X {{ .ModulePath }}/global.CommitDate={{ .CommitDate }}
1515
mod_timestamp: '{{ .CommitTimestamp }}'

0 commit comments

Comments
 (0)