@@ -18,7 +18,7 @@ Releases are published to GitHub and Maven Central by JReleaser from a version t
18182 . Select ** Release** in the workflow list.
19193 . Click ** Run workflow** .
20204 . Leave the branch set to ` main ` and enter the release version without a leading
21- ` v ` , for example ` 0.0.8 ` .
21+ ` v ` , for example ` 0.1.1 ` .
22225 . Click ** Run workflow** to start the release.
23236 . Open the newly created workflow run and wait for the ` release ` job to complete.
24247 . Open [ github.com/codejive/java-properties/releases] ( https://github.com/codejive/java-properties/releases )
@@ -34,14 +34,27 @@ any required environment approval is granted.
34342 . Create and push an annotated tag whose name is the release version, for example:
3535
3636 ``` shell
37- git tag -a v0.0.8 -m " Release v0.0.8 "
38- git push origin v0.0.8
37+ git tag -a v0.1.1 -m " Release v0.1.1 "
38+ git push origin v0.1.1
3939 ```
4040
41413. The ` Release` workflow sets the Maven version from the tag, builds the sources and
4242 Javadoc artifacts, and runs JReleaser.
43434. Verify the GitHub release and the published component on Maven Central.
4444
45+ After a successful release, the workflow increments the patch version, appends
46+ ` -SNAPSHOT` , and commits and pushes ` pom.xml` for the next development iteration.
47+ For example, releasing ` 0.1.1` prepares ` 0.1.2-SNAPSHOT` . Manual releases update the
48+ selected branch; tag releases update the repository' s default branch, which must
49+ contain the tagged commit. The workflow token needs permission to push to that
50+ branch under its branch protection rules.
51+
52+ The workflow preserves newer branch commits and skips an already committed version
53+ bump. If `pom.xml` has otherwise changed since the released commit, or the branch
54+ advances during the push, the preparation step fails without overwriting those
55+ changes. In that case, update and commit the next development version manually;
56+ the published release is already complete.
57+
4558## Local Configuration Check
4659
4760This validates the JReleaser configuration without publishing anything:
0 commit comments