This commit is contained in:
병준 박 2025-04-25 20:55:10 +00:00
parent 429f4cb9ec
commit 609f24f454

View File

@ -29,6 +29,8 @@ spec:
script: |
set -e
ls -al
echo "🔍 Extracting tag from Git ref..."
FULL_REF="$(params.ref)"
DOMAIN=$(echo "$FULL_REF" | awk -F'[/-]' '{print $2}')
@ -39,8 +41,6 @@ spec:
VERSION=$(yq '.info.version' "$OPENAPI_FILE")
TAG_FROM_OPENAPI="${VERSION}"
ls -al
echo "🔁 Comparing Git tag and workspace version:"
echo " - Git ref tag: $TAG_FROM_REF"
echo " - openapi version: $TAG_FROM_OPENAPI"