Skip to content

Commit

Permalink
bump: version 0.1.0 → 0.1.1 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Oct 10, 2024
1 parent 5d65899 commit 7324f91
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,12 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v4
- name: Print commit message
run: echo ${{ github.event.head_commit.message }}
run: echo '${{ github.event.head_commit.message }}'
- name: Determine the new version number
id: version
shell: bash
run: |
[[ $MSG =~ ^bump:.+([0-9]+\.[0-9+]\.[0-9]+[a-z0-9.\-]*)[[:space:]]\\(#[0-9]+\\) ]]
echo "version=${BASH_REMATCH[2]}" >> $GITHUB_OUTPUT
- name: Output the new version number
run: echo '${{ steps.version.outputs.version }}'

0 comments on commit 7324f91

Please sign in to comment.