From 06571a4aae0be51b404b8f417439ea85416f7814 Mon Sep 17 00:00:00 2001 From: Bas van den Aakster Date: Sun, 31 Aug 2025 18:10:14 +0200 Subject: [PATCH] Update workflow to detect 'Release v' prefixed version commits --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a878cab..ba2afd1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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