Compare commits

..

1 Commits

Author SHA1 Message Date
Vikhyath Mondreti
6c1d5586d5 fix(ci): commit message passed in via env var 2026-01-24 14:27:54 -08:00

View File

@@ -27,8 +27,9 @@ jobs:
steps:
- name: Extract version from commit message
id: extract
env:
COMMIT_MSG: ${{ github.event.head_commit.message }}
run: |
COMMIT_MSG="${{ github.event.head_commit.message }}"
# Only tag versions on main branch
if [ "${{ github.ref }}" = "refs/heads/main" ] && [[ "$COMMIT_MSG" =~ ^(v[0-9]+\.[0-9]+\.[0-9]+): ]]; then
VERSION="${BASH_REMATCH[1]}"