You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1304: Create new publish CI for beta versions r=bidoubiwa a=bidoubiwa
To be able to create beta releases on different subjects: `bumps`, `features`, etc.. we needed to provide a better suited CI.
This CI also checks if the tag well formated to ensure we do not publish a version that does not follow the naming convention.
The workflow has been tested on a private directory and seems to work correctly
⚠️ the `--dry-run` tag on the beta `npm publish . --tag beta --dry-run` is voluntarily added. The idea is to make a try run to ensure that it does what it is suppose to do!
Co-authored-by: Charlotte Vermandel <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,16 +135,25 @@ GitHub Actions will be triggered and push the package to [npm](https://www.npmjs
135
135
136
136
Here are the steps to release a beta version of this package:
137
137
138
-
- Create a new branch originating the branch containing the "beta" changes. For example, if during the Meilisearch pre-release, create a branch originating `bump-meilisearch-v*.*.*`.<br>
139
-
`vX.X.X` is the next version of the package, NOT the version of Meilisearch!
140
-
141
-
```bash
142
-
git checkout bump-meilisearch-v*.*.*
143
-
git pull origin bump-meilisearch-v*.*.*
144
-
git checkout -b vX.X.X-beta.0
145
-
```
146
-
147
-
- Change the version in `package.json` with `X.X.X-beta.0` and commit it to the `vX.X.X-beta.0` branch
138
+
- Create a new branch containing the "beta" changes with the following format `xxx-beta` where `xxx` explains the context.
139
+
140
+
For example:
141
+
- When implementing a beta feature, create a branch `my-feature-beta` where you implement the feature.
142
+
```bash
143
+
git checkout -b my-feature-beta
144
+
```
145
+
- During the Meilisearch pre-release, create a branch originating from `bump-meilisearch-v*.*.*` named `meilisearch-v*.*.*-beta`. <br>
146
+
`v*.*.*` is the next version of the package, NOT the version of Meilisearch!
147
+
148
+
```bash
149
+
git checkout bump-meilisearch-v*.*.*
150
+
git pull origin bump-meilisearch-v*.*.*
151
+
git checkout -b bump-meilisearch-v*.*.*-beta
152
+
```
153
+
154
+
- 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:
155
+
- `v*.*.*-my-feature-beta.0`
156
+
- `v*.*.*-beta.0`
148
157
149
158
- Go to the [GitHub interface for releasing](https://github.com/meilisearch/meilisearch-js/releases): on this page, click on `Draft a new release`.
150
159
@@ -159,8 +168,7 @@ git checkout -b vX.X.X-beta.0
159
168
GitHub Actions will be triggered and push the beta version to [npm](https://www.npmjs.com/package/meilisearch).
160
169
161
170
💡 If you need to release a new beta for the same version (i.e. `vX.X.X-beta.1`):
0 commit comments