@@ -8,7 +8,7 @@ First of all, thank you for contributing to Meilisearch! The goal of this docume
8
8
- [ How to Contribute] ( #how-to-contribute )
9
9
- [ Development Workflow] ( #development-workflow )
10
10
- [ Git Guidelines] ( #git-guidelines )
11
- - [ Release Process (for internal team only)] ( #release-process-for-internal-team-only )
11
+ - [ Release Process (for internal team only)] ( #release-process-for-the- internal-team-only )
12
12
13
13
<!-- /MarkdownTOC -->
14
14
@@ -42,6 +42,7 @@ To run this project, you will need:
42
42
You can set up your local environment natively or using ` docker ` , check out the [ ` docker-compose.yml ` ] ( /docker-compose.yml ) .
43
43
44
44
Example of running all the checks with docker:
45
+
45
46
``` bash
46
47
docker-compose run --rm package bash -c " yarn install && yarn test && yarn lint"
47
48
```
@@ -79,6 +80,7 @@ We do not enforce any branch naming style, but please use something descriptive
79
80
### Git Commits
80
81
81
82
As minimal requirements, your commit message should:
83
+
82
84
- be capitalized
83
85
- not finish by a dot or any other punctuation character (!,?)
84
86
- start with a verb so that we can read your commit message this way: "This commit will ...", where "..." is the commit message.
@@ -119,11 +121,13 @@ _[Read more about this](https://github.com/meilisearch/integration-guides/blob/m
119
121
Make a PR modifying the following files with the right version:
120
122
121
123
[ ` package.json ` ] ( /package.json ) :
124
+
122
125
``` javascript
123
126
" version" : " X.X.X" ,
124
127
```
125
128
126
129
[ ` src/package-version ` ] ( /src/package-version.ts )
130
+
127
131
``` javascript
128
132
export const PACKAGE_VERSION = ' X.X.X'
129
133
```
@@ -137,6 +141,7 @@ GitHub Actions will be triggered and push the package to [npm](https://www.npmjs
137
141
#### Release a ` beta ` Version
138
142
139
143
This package is able to create multiple types of betas:
144
+
140
145
- A standard package beta, working on the latest version of Meilisearch.
141
146
- A beta implementing the changes of a rc version of Meilisearch.
142
147
- A beta implementing a specific feature ` prototype ` of Meilisearch.
@@ -159,16 +164,16 @@ Here are the steps to release a beta version of this package depending on its ty
159
164
160
165
3 . Commit and push your code to the newly created branch (step 1).
161
166
162
-
163
167
4 . Go to the [ GitHub interface for releasing] ( https://github.com/meilisearch/meilisearch-js/releases ) : on this page, click on ` Draft a new release ` .
164
168
165
169
5 . Create a GitHub pre-release:
166
- - Fill the description with the detailed changelogs
167
- - Fill the title with ` vX.X.X-beta.0 `
168
- - Fill the tag with ` vX.X.X-beta.0 `
169
- - ⚠️ Select the ` vX.X.X-beta.0 ` branch and NOT ` main `
170
- - ⚠️ Click on the "This is a pre-release" checkbox
171
- - Click on "Publish release"
170
+
171
+ - Fill the description with the detailed changelogs
172
+ - Fill the title with ` vX.X.X-beta.0 `
173
+ - Fill the tag with ` vX.X.X-beta.0 `
174
+ - ⚠️ Select the ` vX.X.X-beta.0 ` branch and NOT ` main `
175
+ - ⚠️ Click on the "This is a pre-release" checkbox
176
+ - Click on "Publish release"
172
177
173
178
<hr >
174
179
0 commit comments