diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c5077db..f29348b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: diff --git a/.goreleaser_hook.sh b/.goreleaser_hook.sh index 5195ddf..cbe481d 100755 --- a/.goreleaser_hook.sh +++ b/.goreleaser_hook.sh @@ -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