Skip to content

Commit

Permalink
fix: update workflow shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
itboon committed Oct 1, 2024
1 parent e23f1c4 commit 2de371d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-kubectl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2de371d

Please sign in to comment.