Update workflow to detect 'Release v' prefixed version commits

This commit is contained in:
2025-08-31 18:10:14 +02:00
parent c5b2e6f286
commit 06571a4aae

View File

@@ -44,7 +44,7 @@ jobs:
# Check if this is a version bump commit (created by npm version)
COMMIT_MSG=$(git log -1 --pretty=%B)
if echo "$COMMIT_MSG" | grep -q "^v[0-9]"; then
if echo "$COMMIT_MSG" | grep -q "^Release v[0-9]\|^v[0-9]"; then
echo "changed=true" >> $GITHUB_OUTPUT
echo "Version bump commit detected: $COMMIT_MSG"
# Or check if package.json was modified in this commit