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
|
||||
- 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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue