update goreleaser

This commit is contained in:
Σ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 - linux
- darwin - darwin
- windows - windows
- freebsd
goarch: goarch:
- "386" - "386"
- amd64 - amd64
@ -22,6 +23,10 @@ builds:
goarch: "386" goarch: "386"
- goos: darwin - goos: darwin
goarch: "386" goarch: "386"
- goos: freebsd
goarch: "arm"
- goos: freebsd
goarch: "arm64"
main: goreleaser.go main: goreleaser.go
hooks: hooks:
#pre: #pre:

View file

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