From ec68290905b5e90fcab97069f9546af4303dd91a Mon Sep 17 00:00:00 2001 From: SimpleTracker <127669191+Simple-Tracker@users.noreply.github.com> Date: Fri, 12 Apr 2024 21:26:27 +0800 Subject: [PATCH] GOARM now only affects filename when GOARCH=arm (#168) --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index b96ec1c..2ceda46 100755 --- a/release.sh +++ b/release.sh @@ -23,7 +23,7 @@ RELEASE_ASSET_NAME=${BINARY_NAME}-${RELEASE_TAG}-${INPUT_GOOS}-${INPUT_GOARCH} if [ ! -z "${INPUT_GOAMD64}" ]; then RELEASE_ASSET_NAME=${BINARY_NAME}-${RELEASE_TAG}-${INPUT_GOOS}-${INPUT_GOARCH}-${INPUT_GOAMD64} fi -if [ ! -z "${INPUT_GOARM}" ] && [[ "${INPUT_GOARCH}" =~ arm ]]; then +if [ ! -z "${INPUT_GOARM}" ] && [[ "${INPUT_GOARCH}" == 'arm' ]]; then RELEASE_ASSET_NAME=${BINARY_NAME}-${RELEASE_TAG}-${INPUT_GOOS}-${INPUT_GOARCH}v${INPUT_GOARM} fi if [ ! -z "${INPUT_ASSET_NAME}" ]; then