Skip to content

Commit 0617d1d

Browse files
Update version bump instructions
1 parent a5e3d8e commit 0617d1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ Releases are published to Maven Central automatically via GitHub Actions when a
165165
3. The deployment workflow sets the version from the tag (stripping the `v` prefix), signs the artifacts with GPG, and publishes to Maven Central
166166
4. 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

174174
The deployment workflow requires these GitHub secrets:
175175

0 commit comments

Comments
 (0)