From 15a19c75623806fddc3d0a44a558018bce26c903 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 18 Dec 2024 16:43:05 +0800 Subject: [PATCH] release --- scripts/release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 8745a3f67..61d0f39b3 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -37,7 +37,11 @@ if [[ "$build_platform" == "x86_64-linux" ]]; then elif [[ "$build_platform" == "aarch64-linux" ]]; then hosts="Linux_arm64,native Linux_x86_64,gnu64 Windows_x86_64,mingwW64" elif [[ "$build_platform" == "x86_64-darwin" ]]; then - hosts="Darwin_x86_64,native Darwin_arm64,aarch64-darwin" + hosts="Darwin_x86_64,native" +elif [[ "$build_platform" == "aarch64-darwin" ]]; then + # cross compiling to x86_64-darwin from aarch64-darwin is not supported + # see: https://github.com/NixOS/nixpkgs/issues/180771 + hosts="Darwin_arm64,native" else echo "don't support build platform: $build_platform" exit 1