File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Patch Release
2+ on :
3+ workflow_dispatch :
4+
5+ jobs :
6+ release :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ contents : write
10+ name : " Bump minor version and create changelog with commitizen"
11+ steps :
12+ - name : Check out
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ token : " ${{ secrets.GITHUB_TOKEN }}"
17+ - id : cz
18+ name : Create bump and changelog
19+ uses : commitizen-tools/commitizen-action@master
20+ with :
21+ github_token : ${{ secrets.GITHUB_TOKEN }}
22+ changelog_increment_filename : body.md
23+ increment : PATCH
24+ - name : Release
25+ uses : ncipollo/release-action@v1
26+ with :
27+ tag : v${{ env.REVISION }}
28+ bodyFile : " body.md"
29+ skipIfReleaseExists : true
30+ - name : Print Version
31+ run : echo "Bumped to version ${{ steps.cz.outputs.version }}"
32+ # TODO: create pypi source distribution
You can’t perform that action at this time.
0 commit comments