Skip to content

Commit a1ce5bc

Browse files
committed
fix: goreleaser config
1 parent 0e13b17 commit a1ce5bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ builds:
33
- main: ./main.go
44
goos: [linux, windows, darwin]
55
goarch: [amd64, arm64]
6+
ldflags:
7+
- "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
68
archives:
79
- format: tar.gz
810
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
@@ -12,5 +14,4 @@ release:
1214
github:
1315
owner: fetch-kit
1416
name: chaos-proxy-go
15-
ldflags:
16-
- "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
17+

0 commit comments

Comments
 (0)