We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e13b17 commit a1ce5bcCopy full SHA for a1ce5bc
.goreleaser.yaml
@@ -3,6 +3,8 @@ builds:
3
- main: ./main.go
4
goos: [linux, windows, darwin]
5
goarch: [amd64, arm64]
6
+ ldflags:
7
+ - "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
8
archives:
9
- format: tar.gz
10
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
@@ -12,5 +14,4 @@ release:
12
14
github:
13
15
owner: fetch-kit
16
name: chaos-proxy-go
-ldflags:
- - "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
17
+
0 commit comments