From 589d49c84067a68063da42bc4f19d2dbfaed0c96 Mon Sep 17 00:00:00 2001 From: Charlotte Vermandel Date: Mon, 1 Aug 2022 16:32:38 +0200 Subject: [PATCH] Update beta guide in contributing --- CONTRIBUTING.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2aa0472b..bc6807bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -175,9 +175,7 @@ Here are the steps to release a beta version of this package: git checkout -b bump-meilisearch-v*.*.*-beta ``` -- 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: - - `v*.*.*-my-feature-beta.0` - - `v*.*.*-beta.0` +- 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. - Go to the [GitHub interface for releasing](https://github.com/meilisearch/instant-meilisearch/releases): on this page, click on `Draft a new release`. @@ -194,7 +192,7 @@ GitHub Actions will be triggered and push the beta version to [npm](https://www. 💡 If you need to release a new beta for the same version (i.e. `vX.X.X-beta.1`): - merge the change into `bump-meilisearch-v*.*.*` - rebase the `vX.X.X-beta.0` branch -- change the version name in `package.json` +- change the version name in [`package.json`](/package.json) and [`src/package-version`](/src/package-version.ts) - creata a pre-release via the GitHub interface