Merge pull request #570 from smallstep/carl/arm6

Add arm6 to goreleaser
This commit is contained in:
Carl Tashian 2021-05-11 07:17:27 -07:00 committed by GitHub
commit f83ccc31d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,15 @@ builds:
- arm64 - arm64
- 386 - 386
goarm: goarm:
- 6
- 7 - 7
ignore: ignore:
- goos: windows - goos: windows
goarch: 386 goarch: 386
- goos: windows
goarm: 6
- goos: windows
goarm: 7
flags: flags:
- -trimpath - -trimpath
main: ./cmd/step-ca/main.go main: ./cmd/step-ca/main.go
@ -44,10 +49,15 @@ builds:
- arm64 - arm64
- 386 - 386
goarm: goarm:
- 6
- 7 - 7
ignore: ignore:
- goos: windows - goos: windows
goarch: 386 goarch: 386
- goos: windows
goarm: 6
- goos: windows
goarm: 7
flags: flags:
- -trimpath - -trimpath
main: ./cmd/step-cloudkms-init/main.go main: ./cmd/step-cloudkms-init/main.go
@ -68,10 +78,15 @@ builds:
- arm64 - arm64
- 386 - 386
goarm: goarm:
- 6
- 7 - 7
ignore: ignore:
- goos: windows - goos: windows
goarch: 386 goarch: 386
- goos: windows
goarm: 6
- goos: windows
goarm: 7
flags: flags:
- -trimpath - -trimpath
main: ./cmd/step-awskms-init/main.go main: ./cmd/step-awskms-init/main.go
@ -84,6 +99,9 @@ archives:
# Most common use case is to archive as zip on Windows. # Most common use case is to archive as zip on Windows.
# Default is empty. # Default is empty.
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
format_overrides:
- goos: windows
format: zip
wrap_in_directory: "{{ .ProjectName }}_{{ .Version }}" wrap_in_directory: "{{ .ProjectName }}_{{ .Version }}"
files: files:
- README.md - README.md