This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new b227939dd501 Move bumping of pom.xml version to the end
b227939dd501 is described below
commit b227939dd5018b0c2cc1d70e45c9865e69a9ca97
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Apr 2 09:17:27 2024 +0300
Move bumping of pom.xml version to the end
---
contribute/release-process.md | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/contribute/release-process.md b/contribute/release-process.md
index ccf1cda847d9..d5cb85069d65 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -635,14 +635,6 @@ regctl image copy apachepulsar/pulsar:$VERSION_WITHOUT_RC
apachepulsar/pulsar:la
regctl image copy apachepulsar/pulsar-all:$VERSION_WITHOUT_RC
apachepulsar/pulsar-all:latest
```
-### Update project version
-After the release process, you should bump the project version and append it
with `-SNAPSHOT`.
-```
-./src/set-project-version.sh x.x.x-SNAPSHOT
-git add -u
-git commit -m "Bump version to next snapshot version"
-```
-
### Release Helm Chart
:::caution
@@ -876,13 +868,9 @@ svn ls https://dist.apache.org/repos/dist/release/pulsar
svn rm https://dist.apache.org/repos/dist/release/pulsar/pulsar-3.X.X
```
-## Move master branch to next version
-
-:::caution
-
-This step is for feature releases only.
+## Move to next version in pom.xml
-:::
+### Feature releases (master branch)
You need to move the master version to the next iteration `Y` (`X + 1`).
@@ -892,4 +880,14 @@ git checkout master
git commit -a -s -m "[cleanup][build] Bumped version to 3.Y.0-SNAPSHOT'
```
-Since this needs to be merged into `master`, you need to follow the regular
process and create a Pull Request on GitHub.
\ No newline at end of file
+Since this needs to be merged into `master`, you need to follow the regular
process and create a Pull Request on GitHub.
+
+### For maintenance branches
+
+After the release process, you should bump the project version and append it
with `-SNAPSHOT`.
+
+```shell
+./src/set-project-version.sh x.x.x-SNAPSHOT
+git add -u
+git commit -m "Bump version to next snapshot version"
+```