diff --git a/release/goreleaser.yml b/release/goreleaser.yml index 103f2bea..f5080cc7 100644 --- a/release/goreleaser.yml +++ b/release/goreleaser.yml @@ -15,9 +15,9 @@ builds: - darwin_arm64 - linux_386 - linux_amd64 - - linux_arm_v5 - - linux_arm_v6 - - linux_arm_v7 + - linux_arm_5 + - linux_arm_6 + - linux_arm_7 - linux_arm64 - linux_riscv64 - windows_386 diff --git a/release/xxgo b/release/xxgo index 3cdacd83..72da7a64 100755 --- a/release/xxgo +++ b/release/xxgo @@ -9,7 +9,9 @@ mkdir -p "$(dirname "$output")" # Build the source folder name based on GOOS, GOARCH and GOARM. source="${GOOS}_${GOARCH}" if [ "$GOARCH" = "arm" ]; then - source="${source}_${GOARM}" + # GOARM is bare ("5", "6", "7"); the Docker build output uses a "v" prefix + # (e.g. linux_arm_v5), so add it back here to match. + source="${source}_v${GOARM}" fi # Copy the output to the desired location