File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -20,20 +20,18 @@ jobs:
2020 with :
2121 persist-credentials : false # This is important if you have branch protection rules!
2222 - name : Semantic Release
23- id : semantic
2423 uses : cycjimmy/semantic-release-action@v4
2524 with :
2625 branch : ' master'
2726 env :
2827 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2928 - name : Get Semantic Release Version
3029 id : get-version
31- run : echo "::set-output name=version::$(echo ${{ steps.Semantic.new_release_version }} )"
30+ run : echo "::set-output name=version::$(grep -oP '\[\d+\.\d+\.\d+\]' CHANGELOG.md | tr -d '[]' )"
3231
3332 - name : show version
3433 run : |
35- echo "Semantic Release Version: ${{ steps.Semantic.new_release_version }}"
36-
34+ echo "Semantic Release Version: ${{ steps.get-version.outputs.version }}"
3735
3836 - name : setup qemu for multi-arch build
3937 uses : docker/setup-qemu-action@v2
You can’t perform that action at this time.
0 commit comments