Skip to content

Commit 9ecd07b

Browse files
committed
fix(ci): update ci
1 parent 841cb63 commit 9ecd07b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727
steps:
2828
- name: Extract version from commit message
2929
id: extract
30+
env:
31+
COMMIT_MSG: ${{ github.event.head_commit.message }}
3032
run: |
31-
COMMIT_MSG="${{ github.event.head_commit.message }}"
3233
# Only tag versions on main branch
3334
if [ "${{ github.ref }}" = "refs/heads/main" ] && [[ "$COMMIT_MSG" =~ ^(v[0-9]+\.[0-9]+\.[0-9]+): ]]; then
3435
VERSION="${BASH_REMATCH[1]}"

0 commit comments

Comments
 (0)