Skip to content

Commit

Permalink
Add arm64 build for Linux and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord authored and wormi4ok committed Dec 10, 2023
1 parent 115724e commit 733366d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ builds:
goarch:
- amd64
- arm64
ignore:
- goos: linux
goarch: arm64
- goos: windows
goarch: arm64
env:
- CGO_ENABLED=0
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}MacOS{{ else }}{{ title .Os }}{{ end }}_{{ if eq .Arch "amd64" }}64-bit{{ end }}{{ if eq .Arch "arm64" }}M1{{ end }}'
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}MacOS{{ else }}{{ title .Os }}{{ end }}_{{ if eq .Arch "amd64" }}64-bit{{ end }}{{ if eq .Arch "arm64" }}{{ if eq .Os "darwin" }}M1{{ else }}arm64{{ end }}{{ end }}'
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 733366d

Please sign in to comment.