diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d3316024..72235557 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -18,6 +18,7 @@ builds: flags: - -tags=nodbus goos: + - android - freebsd - linux - windows @@ -28,14 +29,23 @@ 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 @@ -43,7 +53,7 @@ archives: checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: