update goreleaser
This commit is contained in:
parent
a04f22c0d3
commit
362fa92ac9
2 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue