init
This commit is contained in:
parent
429f4cb9ec
commit
609f24f454
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user