diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9e36819..3a1615c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,6 +4,7 @@ builds: - darwin - windows goarch: + - "386" - amd64 - arm64 - arm @@ -19,6 +20,10 @@ builds: goarch: arm64 - goos: darwin goarch: arm + - goos: linux + goarch: "386" + - goos: darwin + goarch: "386" main: goreleaser.go hooks: #pre: diff --git a/.goreleaser_hook.sh b/.goreleaser_hook.sh index 6bff51a..5195ddf 100755 --- a/.goreleaser_hook.sh +++ b/.goreleaser_hook.sh @@ -10,6 +10,7 @@ case $go_arch in amd64) rust_arch='x86_64' ;; arm64) rust_arch='aarch64' ;; arm) rust_arch='armv7' ;; + 386) rust_arch='i686' ;; *) echo "unknown arch: $go_arch" && exit 1 ;; esac case $go_os in