This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 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!
153153npm install
154154```
155155
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`.
162157```
163158tag-version-prefix=""
164159message="release: cut the %s release"
165160```
166161
167- 4 . Create new branch for the release:
162+ 3 . Create new branch for the release:
168163```
169164git checkout -b username/release-version
170165```
171166
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:
173168```
174169npm version [patch|minor|major]
175170```
176171
177- 6 . Push all changes to your branch and create a PR.
172+ 5 . Push all changes to your branch and create a PR.
178173```bash
179174git push --set-upstream origin username/release-version --tags
180175```
181176
182- 7 . Publish the package to npm after the PR is merged.
177+ 6 . Publish the package to npm after the PR is merged.
183178```bash
184179npm publish
185180```
You can’t perform that action at this time.
0 commit comments