We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841cb63 commit 9ecd07bCopy full SHA for 9ecd07b
.github/workflows/ci.yml
@@ -27,8 +27,9 @@ jobs:
27
steps:
28
- name: Extract version from commit message
29
id: extract
30
+ env:
31
+ COMMIT_MSG: ${{ github.event.head_commit.message }}
32
run: |
- COMMIT_MSG="${{ github.event.head_commit.message }}"
33
# Only tag versions on main branch
34
if [ "${{ github.ref }}" = "refs/heads/main" ] && [[ "$COMMIT_MSG" =~ ^(v[0-9]+\.[0-9]+\.[0-9]+): ]]; then
35
VERSION="${BASH_REMATCH[1]}"
0 commit comments