File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # GitHub Action Workflow to update tags with new version number, update release notes, and create a new release
2+ name : Create New Version and Release
3+
4+ on :
5+ workflow_dispatch :
6+ inputs :
7+ version_type :
8+ description : ' Version increment type (major, minor, patch)'
9+ required : true
10+ default : ' patch'
11+
12+ jobs :
13+ create_version_and_release :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Bump version and push tag
22+ id : bump_version
23+ uses : anothrNick/github-tag-action@1.71.0
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ DEFAULT_BUMP : ${{ github.event.inputs.version_type }}
27+ WITH_V : true
28+
29+ - name : Cut Release
30+ uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change 1+ scratchpad
You can’t perform that action at this time.
0 commit comments