We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d3f9d commit d0063ebCopy full SHA for d0063eb
1 file changed
.goreleaser.yaml
@@ -9,9 +9,10 @@ builds:
9
env:
10
- CGO_ENABLED=0
11
goos:
12
- - linux
13
- - windows
14
- darwin
+ goarch:
+ - amd64
15
+ - arm64
16
ldflags:
17
- -s -w
18
- -X main.version={{.Version}}
@@ -20,18 +21,13 @@ builds:
20
21
22
archives:
23
- formats: [tar.gz]
- # this name template makes the OS and Arch compatible with the results of `uname`.
24
name_template: >-
25
{{ .ProjectName }}_
26
{{- title .Os }}_
27
{{- if eq .Arch "amd64" }}x86_64
28
{{- else if eq .Arch "386" }}i386
29
{{- else }}{{ .Arch }}{{ end }}
30
{{- if .Arm }}v{{ .Arm }}{{ end }}
31
- # use zip for windows archives
32
- format_overrides:
33
- - goos: windows
34
- formats: [zip]
35
36
checksum:
37
name_template: 'checksums.txt'
0 commit comments