From ff1b1bea895cc5156c40004345863059ee995228 Mon Sep 17 00:00:00 2001 From: Zike Yang Date: Mon, 18 Dec 2023 09:46:06 +0000 Subject: [PATCH 1/2] Fix incorrect command in release doc --- RELEASE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index ce74152..5345f95 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -71,7 +71,7 @@ For patch releases (`X.Y.Z`), you need to reuse the existing branch: ```bash git checkout branch-X.Y -sed -i 's/__version__.*/__version__=X.Y.Z/' pulsar/__about__.py +sed -i "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 From 9fc9937b68ea7330aba2f0a5fac2c12f72146954 Mon Sep 17 00:00:00 2001 From: Zike Yang Date: Tue, 19 Dec 2023 09:59:01 +0000 Subject: [PATCH 2/2] Using perl instead of sed --- RELEASE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 5345f95..f4f1cc8 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -71,7 +71,7 @@ For patch releases (`X.Y.Z`), you need to reuse the existing branch: ```bash git checkout branch-X.Y -sed -i "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