Skip to content

Commit

Permalink
Build arm v6 and v7 for linux (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ragazenta authored Sep 25, 2023
1 parent 3c175df commit 362d0c5
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ builds:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
- id: tsz
main: ./cmd/tsz
binary: tsz
Expand All @@ -21,6 +34,19 @@ builds:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
- id: trzsz
main: ./cmd/trzsz
binary: trzsz
Expand All @@ -30,6 +56,19 @@ builds:
- linux
- windows
- darwin
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
archives:
- id: trzsz
name_template: >-
Expand All @@ -40,6 +79,7 @@ archives:
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "arm64" }}aarch64
{{- else if eq .Arch "arm" }}armv{{ .Arm }}
{{- else }}{{ .Arch }}{{ end }}
wrap_in_directory: true
format_overrides:
Expand All @@ -61,6 +101,7 @@ nfpms:
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "arm64" }}aarch64
{{- else if eq .Arch "arm" }}armv{{ .Arm }}
{{- else }}{{ .Arch }}{{ end }}
homepage: https://trzsz.github.io/
maintainer: Lonny Wong <lonnywong@qq.com>
Expand Down

0 comments on commit 362d0c5

Please sign in to comment.