From 2de371de6fb7f67162e13c3112e5bd35372e905a Mon Sep 17 00:00:00 2001 From: itboon Date: Tue, 1 Oct 2024 15:00:20 +0800 Subject: [PATCH] fix: update workflow shell script --- .github/workflows/docker-kubectl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-kubectl.yml b/.github/workflows/docker-kubectl.yml index 36176e0..6ca6de7 100644 --- a/.github/workflows/docker-kubectl.yml +++ b/.github/workflows/docker-kubectl.yml @@ -41,7 +41,7 @@ jobs: echo "[env] GITHUB_REF_NAME: $GITHUB_REF_NAME" if echo "$GITHUB_REF_NAME" | grep -E 'kubectl-v[0-9.]+(-.*)?'; then app_version=$(echo "$GITHUB_REF_NAME" | cut -d "-" -f2 | sed 's/^v//') - if [ "$?"" -eq "0" ]; then + if [ "$?" -eq "0" ]; then echo "is_release=true" >> $GITHUB_OUTPUT echo "app_version=${app_version}" >> $GITHUB_OUTPUT if [ "$app_version" = "$APP_VERSION" ]; then