Skip to content

Commit ef54def

Browse files
Add step for release to commit and push changes to package.json
1 parent af722b3 commit ef54def

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

CONTRIBUTING.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@ Running the build will execute tests first.
6262
Publishing an updated package is reserved for those with appropriate credentials. Coordinate with the repository owners to get your changes into a published release. The steps for publishing are:
6363

6464
1. Ensure all PRs are reviewed and merged to `master`
65-
2. Wait for all testing to pass (if it does not, we have a problem)
66-
3. Locally:
65+
1. Wait for all testing to pass (if it does not, we have a problem)
66+
1. Locally:
6767
1. `git checkout master && git pull`
68-
2. Edit the `package.json` to update the package version
69-
3. `git tag vX.Y.Z` where X is the major version from the `package.json`, Y is the minor version, and Z is the patch version
70-
4. `git push --tags`
71-
5. `yarn install`
72-
6. `yarn build` (if tests fail, stop!)
73-
7. `npm publish`
74-
4. Create a release on github with some notes on what the release contains and a link to the NPM package
68+
1. Edit the `package.json` to update the package version
69+
1. Commit the changes to `package.json` and push them
70+
1. `git tag vX.Y.Z` where X is the major version from the `package.json`, Y is the minor version, and Z is the patch version
71+
1. `git push --tags`
72+
1. `yarn install`
73+
1. `yarn build` (if tests fail, stop!)
74+
1. `npm publish`
75+
1. Create a release on github with some notes on what the release contains and a link to the NPM package

0 commit comments

Comments
 (0)