@@ -160,7 +160,8 @@ The project uses **Spotless** with **Google Java Format (AOSP style)**:
160160GitHub Actions workflows:
161161- ** test.yml** - Runs tests on all branches using JDK 17
162162- ** maven.yml** - Maven-based build pipeline
163- - ** publish.yml** - Publishes artifacts to Maven Central and GitHub Packages (triggered on releases)
163+ - ** publish.yml** - Publishes artifacts to Maven Central and GitHub Packages (triggered on tag push)
164+ - ** release.yml** - Creates GitHub releases with changelog notes (triggered on tag push)
164165
165166## Publishing & Releases
166167
@@ -179,37 +180,34 @@ make bump-patch # 0.0.1 -> 0.0.2
179180make bump-minor # 0.0.1 -> 0.1.0
180181make bump-major # 0.0.1 -> 1.0.0
181182
182- # Push the tag to trigger release workflow
183+ # Push the tag to trigger automated workflows
183184make push-tag
184-
185- # Create GitHub release (triggers publish.yml workflow)
186- gh release create v0.0.2 --title " Release 0.0.2" --notes " Release notes here"
187185```
188186
189- ** Automated workflow:**
190- 1 . ` make bump-patch ` (or minor/major) - Updates version in both pom.xml and build.gradle, commits, and creates tag
191- 2 . ` make push-tag ` - Pushes the tag to GitHub
192- 3 . ` gh release create ` - Creates GitHub release which automatically triggers the publish workflow
193- 4 . The workflow publishes to both Maven Central and GitHub Packages
187+ ** Automated workflow (triggered by ` make push-tag ` ) :**
188+ 1 . ` make bump-patch ` (or minor/major) - Updates version in both pom.xml and build.gradle, commits, and creates tag locally
189+ 2 . ` make push-tag ` - Pushes the tag to GitHub, which automatically triggers:
190+ - ** publish.yml ** - Runs tests, signs artifacts, publishes to Maven Central and GitHub Packages
191+ - ** release.yml ** - Creates GitHub release with changelog notes
194192
195193** One-command releases:**
196194``` bash
197- # These combine bump + push-tag
198- make release-patch # Bump patch and push tag
199- make release-minor # Bump minor and push tag
200- make release-major # Bump major and push tag
201-
202- # Then create the GitHub release
203- gh release create v0.0.2
195+ # These combine bump + push-tag (fully automated!)
196+ make release-patch # Bump patch and push tag → triggers publish + release
197+ make release-minor # Bump minor and push tag → triggers publish + release
198+ make release-major # Bump major and push tag → triggers publish + release
204199```
205200
206- ** What happens during publish :**
201+ ** What happens automatically :**
207202- Runs all tests
208203- Signs artifacts with GPG
209204- Deploys to Maven Central Portal (auto-publishes)
210205- Deploys to GitHub Packages
206+ - Creates GitHub release with changelog notes from CHANGELOG.md
211207- Available in Maven Central within 30 minutes
212208
209+ ** No manual steps needed!** Just run ` make release-patch ` and everything is automated.
210+
213211### Version Management
214212
215213Version is tracked in two files (automatically updated by Makefile):
0 commit comments