From 76e89e25cac684c929cdaf070d8f3ebca0a05f86 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Sat, 24 Feb 2024 03:00:58 +0000 Subject: [PATCH] fix: syntax --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index e21bcc7..171e2bb 100755 --- a/release.sh +++ b/release.sh @@ -98,7 +98,7 @@ fi # build BUILD_ARTIFACTS_FOLDER=build-artifacts-$(date +%s) -if [ ${INPUT_MULTI_BINARIES} == "TRUE" ]; then +if [ ${INPUT_MULTI_BINARIES^^} == 'TRUE' ]; then RELEASE_ASSET_DIR=${BUILD_ARTIFACTS_FOLDER} mkdir -p ${RELEASE_ASSET_DIR} @@ -136,7 +136,7 @@ fi if [ ! -z "${INPUT_EXTRA_FILES}" ]; then cd ${GITHUB_WORKSPACE} cp -r ${INPUT_EXTRA_FILES} ${RELEASE_ASSET_DIR}/ - if [ ! ${INPUT_MULTI_BINARIES} == "TRUE" ]; then + if [ ! ${INPUT_MULTI_BINARIES^^} == 'TRUE' ]; then cd ${INPUT_PROJECT_PATH} fi fi