From b38c71b462b757c882c1a9bd3ad713aac728b57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Sun, 26 Nov 2023 08:05:47 +0100 Subject: [PATCH] Add windows 32bits --- .goreleaser.yaml | 5 +++++ .goreleaser_hook.sh | 1 + 2 files changed, 6 insertions(+) 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