Skip to content

Commit d0063eb

Browse files
committed
Remove Linux/Windows builds from GoReleaser
Santa is macOS-only, build only for darwin/amd64 and darwin/arm64.
1 parent e0d3f9d commit d0063eb

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ builds:
99
env:
1010
- CGO_ENABLED=0
1111
goos:
12-
- linux
13-
- windows
1412
- darwin
13+
goarch:
14+
- amd64
15+
- arm64
1516
ldflags:
1617
- -s -w
1718
- -X main.version={{.Version}}
@@ -20,18 +21,13 @@ builds:
2021

2122
archives:
2223
- formats: [tar.gz]
23-
# this name template makes the OS and Arch compatible with the results of `uname`.
2424
name_template: >-
2525
{{ .ProjectName }}_
2626
{{- title .Os }}_
2727
{{- if eq .Arch "amd64" }}x86_64
2828
{{- else if eq .Arch "386" }}i386
2929
{{- else }}{{ .Arch }}{{ end }}
3030
{{- if .Arm }}v{{ .Arm }}{{ end }}
31-
# use zip for windows archives
32-
format_overrides:
33-
- goos: windows
34-
formats: [zip]
3531
3632
checksum:
3733
name_template: 'checksums.txt'

0 commit comments

Comments
 (0)