wstunnel/.goreleaser.yaml
Σrebe - Romain GERARD c6e3ee5925 update release command
Former-commit-id: 8e06872cfe5c9732f1fb5d482486dacd9e3672ac [formerly 2ee0bbfaa958d4c78839584f5f87b8e7ca774b75] [formerly 109a50fdcc3a67d372358638b24016d6beff38b2 [formerly 7d2aeba885eba91a207769bd064842f3c656e702]]
Former-commit-id: 8658dda5ca8f9540a742a795ddd8089c440db946 [formerly fe14c720c5b3e66deaacac5b5bd2e326bd31f58d]
Former-commit-id: b6e61ba6ea727d878127cb038a8deaad68036389
Former-commit-id: 53bb2ef463a642a65d74ef4bdf0d4153b0443c76
Former-commit-id: bcf86ff66cc6c7131fed150c5a127f2860e4a74d
Former-commit-id: bb3c8ae7c300c3f27f49404492596dec4b1bebd9 [formerly 9bb855cc9c01cb31df4caf5bb6146e27e58d05db]
Former-commit-id: 3be421554358a4de7b3e2cf3a98a903bea328fd5
2023-10-22 11:13:30 +02:00

38 lines
813 B
YAML

before:
hooks:
- /bin/sh -c 'echo -e "package main\\nfunc main() { }" > goreleaser.go'
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
binary: wstunnel
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
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 }} {{ .ProjectName }}
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"