File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,11 +165,11 @@ Releases are published to Maven Central automatically via GitHub Actions when a
1651653 . The deployment workflow sets the version from the tag (stripping the ` v ` prefix), signs the artifacts with GPG, and publishes to Maven Central
1661664 . After the release, bump the version on ` main ` for the next development cycle:
167167 ``` bash
168- mvn versions:set -DnewVersion=1.1.0-SNAPSHOT -DgenerateBackupPoms=false
169- git add pom.xml * /pom.xml
170- git commit -m " Bump version to 1.0.1-SNAPSHOT"
168+ mvn versions:set -DnextSnapshot=true -DgenerateBackupPoms=false
169+ git commit -am " Bump version to next SNAPSHOT"
171170 git push
172171 ```
172+ This automatically increments the patch version and appends ` -SNAPSHOT ` (e.g., ` 1.0.0-SNAPSHOT ` becomes ` 1.0.1-SNAPSHOT ` ).
173173
174174The deployment workflow requires these GitHub secrets:
175175
You can’t perform that action at this time.
0 commit comments