Skip to content

Commit d278416

Browse files
authored
Fix incorrect version upgrade command in RELEASE.md (#179)
1 parent bf8524a commit d278416

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ For major and minor releases (`X.Y.0`), you need to create a new branch:
5858

5959
```bash
6060
git 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
6262
git add pulsar/__about__.py
6363
git commit -m "Bump version to X.Y.0"
6464
git 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
7373
git 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
7575
git add pulsar/__about__.py
7676
git commit -m "Bump version to X.Y.Z"
7777
git push origin branch-X.Y
@@ -164,7 +164,7 @@ You need to move the main version to the next iteration.
164164

165165
```bash
166166
git 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
168168
git add pulsar/__about__.py
169169
git commit -m "Bumped version to X.Y.0a1"
170170
```

0 commit comments

Comments
 (0)