Fix architecture check for riscv64 in script

This commit is contained in:
Ealrang 2025-12-14 15:43:08 +08:00 committed by GitHub
parent e7a04e0762
commit 237fbee08c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ case $TARGETPLATFORM in
"linux/arm/v7")
arch="armv7"
;;
"riscv64")
"linux/riscv64")
arch="riscv64"
;;
*)
@ -22,4 +22,4 @@ case $TARGETPLATFORM in
;;
esac
file_name="$os$arch-$(cat bin/version.txt)"
echo $file_name
echo $file_name