Skip to content

Commit 589d49c

Browse files
committed
Update beta guide in contributing
1 parent 3f9ccc6 commit 589d49c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ Here are the steps to release a beta version of this package:
175175
git checkout -b bump-meilisearch-v*.*.*-beta
176176
```
177177

178-
- Change the version in `package.json` with `*.*.*-xxx-beta.0` and commit it to the `v*.*.*-beta` branch. None or multiple `-xxx`are valid. Examples:
179-
- `v*.*.*-my-feature-beta.0`
180-
- `v*.*.*-beta.0`
178+
- Change the version in [`package.json`](/package.json) and [`src/package-version`](/src/package-version.ts) with `*.*.*-xxx-beta.0` and commit it to the `v*.*.*-beta` branch.
181179

182180
- Go to the [GitHub interface for releasing](https://github.com/meilisearch/instant-meilisearch/releases): on this page, click on `Draft a new release`.
183181

@@ -194,7 +192,7 @@ GitHub Actions will be triggered and push the beta version to [npm](https://www.
194192
💡 If you need to release a new beta for the same version (i.e. `vX.X.X-beta.1`):
195193
- merge the change into `bump-meilisearch-v*.*.*`
196194
- rebase the `vX.X.X-beta.0` branch
197-
- change the version name in `package.json`
195+
- change the version name in [`package.json`](/package.json) and [`src/package-version`](/src/package-version.ts)
198196
- creata a pre-release via the GitHub interface
199197

200198
<hr>

0 commit comments

Comments
 (0)