File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ # This workflow automates the release process when a draft release is created
2+ # on GitHub. It uses Maven release plugin to manage versions and deploys to
3+ # Maven Central
4+ #
5+ # Usage:
6+ # 1. Create a new draft release in GitHub UI with tag format: vX.Y.Z
7+ # (e.g., v1.2.0)
8+ # - Select the target branch (typically main)
9+ # 2. This workflow will automatically:
10+ # - Use Maven release:prepare to update versions and create release commit
11+ # - Use Maven release:perform to build and deploy artifacts to Maven Central
12+ # - Create the tag to point to release commit
13+ # - Push commits back to the originating branch
14+ # - Publish the GitHub release (mark draft as non-draft)
15+
116name : Automated Release
217
318on :
419 release :
5- types : [created] # Only fire when a release is created
20+ types : [created] # Only fire when a release is created
621
722permissions :
8- contents : write # Required to push commits, update tags and edit releases
23+ contents : write # Required to push commits, update tags and edit releases
924
1025jobs :
1126 release :
You can’t perform that action at this time.
0 commit comments