Add android build

This commit is contained in:
Σrebe - Romain GERARD 2024-05-25 12:15:39 +02:00
parent c0161d5877
commit f89a82e8ec
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4

View file

@ -33,16 +33,11 @@ builds:
- goos: freebsd - goos: freebsd
goarch: "arm64" goarch: "arm64"
main: goreleaser.go main: goreleaser.go
command: version
hooks: hooks:
#pre: #pre:
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi" # - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
post: post:
- ./.goreleaser_hook.sh "{{ .Arch }}" "{{ .Os }}" "{{ .Arm }}" "{{ .ProjectName }}" - ./.goreleaser_hook.sh "{{ .Arch }}" "{{ .Os }}" "{{ .Arm }}" "{{ .ProjectName }}"
overrides:
- goos: linux
goarch: arm64
ldflags: [ ]
checksum: checksum:
name_template: "checksums.txt" name_template: "checksums.txt"
changelog: changelog: