Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add android arm64 build #479

Merged
merged 2 commits into from
Nov 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ builds:
flags:
- -tags=nodbus
goos:
- android
- freebsd
- linux
- windows
Expand All @@ -28,22 +29,31 @@ builds:
- arm
- "386"
goarm:
- 6
- 7
- "6"
- "7"
ldflags:
- -s -w
- -X github.com/dlvhdr/gh-dash/cmd.Version={{.Version}}
- -X github.com/dlvhdr/gh-dash/cmd.Commit={{.Commit}}
- -X github.com/dlvhdr/gh-dash/cmd.Date={{.CommitDate}}
- -X github.com/dlvhdr/gh-dash/cmd.BuiltBy=goreleaser
# Skipping builds for Android non-ARM64 architectures as they need CGO enabled
# https://goreleaser.com/limitations/cgo/
ignore:
- goos: android
goarch: "386"
- goos: android
goarch: amd64
- goos: android
goarch: arm

archives:
- format: binary
name_template: "gh-dash_{{ .Tag }}_{{ .Os }}-{{ .Arch }}{{if .Arm}}_{{.Arm}}{{end}}"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down