Merge pull request #38 from wso2/pavinduLakshan-patch-4
Some checks failed
Go CI / Test (push) Failing after 39s
Go CI / Build (push) Successful in 1m6s

This commit is contained in:
Pavindu Lakshan 2025-06-22 20:59:49 +05:30 committed by GitHub
commit 1edfed91b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ else
fi fi
# Extract current version. # Extract current version.
CURRENT_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0") CURRENT_VERSION=$(git tag --sort=-v:refname | head -n 1 | sed 's/^v//' || echo "0.0.0")
IFS='.' read -r MAJOR MINOR PATCH <<< "${CURRENT_VERSION}" IFS='.' read -r MAJOR MINOR PATCH <<< "${CURRENT_VERSION}"
# Determine which part to increment # Determine which part to increment