update goreleaser

pull/235/head
Σrebe - Romain GERARD 2024-01-22 21:12:17 +01:00
parent a04f22c0d3
commit 362fa92ac9
No known key found for this signature in database
GPG Key ID: 7A42B4B97E0332F4
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@ builds:
- linux
- darwin
- windows
- freebsd
goarch:
- "386"
- amd64
@ -22,6 +23,10 @@ builds:
goarch: "386"
- goos: darwin
goarch: "386"
- goos: freebsd
goarch: "arm"
- goos: freebsd
goarch: "arm64"
main: goreleaser.go
hooks:
#pre:

View File

@ -17,6 +17,7 @@ case $go_os in
linux) rust_os='linux' ;;
darwin) rust_os='apple-darwin' ;;
windows) rust_os='windows' ;;
freebsd) rust_os='freebsd' ;;
*) echo "unknown os: $go_os" && exit 1 ;;
esac