File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1010 - name : Check out Git repository
1111 uses : actions/checkout@v2
1212
13+ - name : Release GitHub sources
14+ uses : actions/create-release@v1
15+ env :
16+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ with :
18+ tag_name : ${{ github.ref }}
19+ release_name : ${{ github.ref }}
20+ body : ${{ github.event.head_commit.message }}
21+ draft : false
22+ prerelease : false
23+
1324 - name : Install Java and Maven
1425 uses : actions/setup-java@v1
1526 with :
Original file line number Diff line number Diff line change 1+ # Steps to release a new version
2+
3+ 1 . Decide whether to do a patch, minor or major release
4+ 2 . Adjust the version in the [ pom.xml] ( pom.xml )
5+ 3 . Adjust the version in the [ README.md] ( README.md )
6+ 4 . Commit the changes _ (the commit message will be the release notes, so make sure to include anything important; markdown is supported)_
7+ 5 . Create a tag with the pom-version: ` git tag 1.2.3 `
8+ 6 . Push your commit together with the tag
You can’t perform that action at this time.
0 commit comments