Skip to content

Commit

Permalink
Update release instructions in CONTRIBUTING.md (#4105)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie authored Jun 12, 2024
1 parent 77e4a3d commit 07d5025
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,22 @@ then use `npm version patch|minor|major` in order to increment the version in
package.json and tag and commit a release. Then `git push && git push --tags`
to sync this change with source control. Then `npm publish npmDist` to actually
publish the release to NPM.
Once published, add [release notes](https://github.com/graphql/graphql-js/tags).
Once published, add [release notes](https://github.com/graphql/graphql-js/releases).
Use [semver](https://semver.org/) to determine which version part to increment.

Example for a patch release:

```sh
npm ci
npm test
npm version patch
git push --follow-tags
npm publish npmDist
cd npmDist && npm publish
npm run changelog
```

Then upload the changelog to [https://github.com/graphql/graphql-js/releases](https://github.com/graphql/graphql-js/releases).

## License

By contributing to graphql-js, you agree that your contributions will be
Expand Down

0 comments on commit 07d5025

Please sign in to comment.