This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -153,33 +153,28 @@ Thank you for your contribution!
153
153
npm install
154
154
```
155
155
156
- 2. Remove the `package-lock.json` file if it was generated.
157
- ```bash
158
- rm package-lock.json
159
- ```
160
-
161
- 3. Add the following to your `.npmrc`.
156
+ 2. Add the following to your `.npmrc`.
162
157
```
163
158
tag-version-prefix=""
164
159
message="release: cut the %s release"
165
160
```
166
161
167
- 4 . Create new branch for the release:
162
+ 3 . Create new branch for the release:
168
163
```
169
164
git checkout -b username/release-version
170
165
```
171
166
172
- 5 . Run `npm version` to bump the version in the `package.json`, tag the release and update the CHANGELOG.md:
167
+ 4 . Run `npm version` to bump the version in the `package.json`, tag the release and update the CHANGELOG.md:
173
168
```
174
169
npm version [patch|minor|major]
175
170
```
176
171
177
- 6 . Push all changes to your branch and create a PR.
172
+ 5 . Push all changes to your branch and create a PR.
178
173
```bash
179
174
git push --set-upstream origin username/release-version --tags
180
175
```
181
176
182
- 7 . Publish the package to npm after the PR is merged.
177
+ 6 . Publish the package to npm after the PR is merged.
183
178
```bash
184
179
npm publish
185
180
```
You can’t perform that action at this time.
0 commit comments