wstunnel/.goreleaser.yaml
Σrebe - Romain GERARD f89a82e8ec
Add android build
2024-05-25 12:15:39 +02:00

52 lines
1.1 KiB
YAML

builds:
- goos:
- linux
- darwin
- windows
- freebsd
- android
goarch:
- "386"
- amd64
- arm64
- arm
goarm:
- "7"
binary: wstunnel
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
- goos: linux
goarch: "386"
- goos: android
goarch: "386"
- goos: android
goarch: amd64
- goos: darwin
goarch: "386"
- goos: freebsd
goarch: "arm"
- goos: freebsd
goarch: "arm64"
main: goreleaser.go
hooks:
#pre:
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
post:
- ./.goreleaser_hook.sh "{{ .Arch }}" "{{ .Os }}" "{{ .Arm }}" "{{ .ProjectName }}"
checksum:
name_template: "checksums.txt"
changelog:
use: github
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
replace_existing_artifacts: true
prerelease: auto