File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ For major and minor releases (`X.Y.0`), you need to create a new branch:
5858
5959``` bash
6060git checkout -b branch-X.Y
61- sed -i ' s/__version__.*/__version__=X.Y.0/ ' pulsar/__about__.py
61+ perl -pi -e " s/__version__.*/__version__=' X.Y.Z'/ " pulsar/__about__.py
6262git add pulsar/__about__.py
6363git commit -m " Bump version to X.Y.0"
6464git push origin branch-X.Y
@@ -71,7 +71,7 @@ For patch releases (`X.Y.Z`), you need to reuse the existing branch:
7171
7272``` bash
7373git checkout branch-X.Y
74- perl -pi -e " s/__version__.*/__version__=\" X.Y.Z\" /" pulsar/__about__.py
74+ perl -pi -e " s/__version__.*/__version__=' X.Y.Z' /" pulsar/__about__.py
7575git add pulsar/__about__.py
7676git commit -m " Bump version to X.Y.Z"
7777git push origin branch-X.Y
@@ -164,7 +164,7 @@ You need to move the main version to the next iteration.
164164
165165``` bash
166166git checkout main
167- sed -i.bak ' s/X.Y.0a1/X.Y+1.0a1/' pulsar/__about__.py
167+ perl -pi -e " s/X.Y.0a1/X.Y+1.0a1/" pulsar/__about__.py
168168git add pulsar/__about__.py
169169git commit -m " Bumped version to X.Y.0a1"
170170```
You can’t perform that action at this time.
0 commit comments