You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xy...@apache.org on 2023/12/25 11:40:18 UTC
(pulsar-client-python) branch main updated: Fix incorrect version upgrade command in RELEASE.md (#179)
This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-python.git
The following commit(s) were added to refs/heads/main by this push:
new d278416 Fix incorrect version upgrade command in RELEASE.md (#179)
d278416 is described below
commit d278416eaffccc380f0af3773faee54c40a61da9
Author: Zike Yang <zi...@apache.org>
AuthorDate: Mon Dec 25 19:40:13 2023 +0800
Fix incorrect version upgrade command in RELEASE.md (#179)
---
RELEASE.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/RELEASE.md b/RELEASE.md
index f4f1cc8..9a8e73c 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -58,7 +58,7 @@ For major and minor releases (`X.Y.0`), you need to create a new branch:
```bash
git checkout -b branch-X.Y
-sed -i 's/__version__.*/__version__=X.Y.0/' pulsar/__about__.py
+perl -pi -e "s/__version__.*/__version__='X.Y.Z'/" pulsar/__about__.py
git add pulsar/__about__.py
git commit -m "Bump version to X.Y.0"
git push origin branch-X.Y
@@ -71,7 +71,7 @@ For patch releases (`X.Y.Z`), you need to reuse the existing branch:
```bash
git checkout branch-X.Y
-perl -pi -e "s/__version__.*/__version__=\"X.Y.Z\"/" pulsar/__about__.py
+perl -pi -e "s/__version__.*/__version__='X.Y.Z'/" pulsar/__about__.py
git add pulsar/__about__.py
git commit -m "Bump version to X.Y.Z"
git push origin branch-X.Y
@@ -164,7 +164,7 @@ You need to move the main version to the next iteration.
```bash
git checkout main
-sed -i.bak 's/X.Y.0a1/X.Y+1.0a1/' pulsar/__about__.py
+perl -pi -e "s/X.Y.0a1/X.Y+1.0a1/" pulsar/__about__.py
git add pulsar/__about__.py
git commit -m "Bumped version to X.Y.0a1"
```