Skip to content

Commit e8161f4

Browse files
committed
Also add the commit to goreleaser builds
Signed-off-by: Itxaka <[email protected]>
1 parent 52fcc79 commit e8161f4

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
@@ -13,7 +13,7 @@ builds:
1313
- amd64
1414
- arm64
1515
ldflags:
16-
- -w -s -X "github.com/kairos-io/kairos-init/pkg/values.VERSION={{.Tag}}"
16+
- -w -s -X "github.com/kairos-io/kairos-init/pkg/values.version={{.Tag}}" -X "github.com/kairos-io/kairos-init/pkg/values.gitCommit={{.ShortCommit}}"
1717
binary: '{{ .ProjectName }}'
1818
changelog:
1919
sort: asc

0 commit comments

Comments
 (0)