wstunnel/.goreleaser.yaml

41 lines
838 B
YAML
Raw Normal View History

builds:
- goos:
- linux
- darwin
- windows
goarch:
2023-11-26 07:05:47 +00:00
- "386"
- amd64
- arm64
- arm
goarm:
- "7"
binary: wstunnel
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
2023-11-26 07:05:47 +00:00
- goos: linux
goarch: "386"
- goos: darwin
goarch: "386"
main: goreleaser.go
hooks:
#pre:
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
post:
2023-10-30 11:21:01 +00:00
- ./.goreleaser_hook.sh "{{ .Arch }}" "{{ .Os }}" "{{ .Arm }}" "{{ .ProjectName }}"
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"