Skip to content

Commit 811ba37

Browse files
authored
Fix release instructions (#3329)
1 parent d35bca5 commit 811ba37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ _Only core contributors may release to NPM._
8585
To release a new version on NPM, first ensure all tests pass with `npm test`,
8686
then use `npm version patch|minor|major` in order to increment the version in
8787
package.json and tag and commit a release. Then `git push && git push --tags`
88-
this change so Travis CI can deploy to NPM. _Do not run `npm publish` directly._
88+
to sync this change with source control. Then `npm publish npmDist` to actually
89+
publish the release to NPM.
8990
Once published, add [release notes](https://github.com/graphql/graphql-js/tags).
9091
Use [semver](https://semver.org/) to determine which version part to increment.
9192

@@ -95,6 +96,7 @@ Example for a patch release:
9596
npm test
9697
npm version patch
9798
git push --follow-tags
99+
npm publish npmDist
98100
```
99101

100102
## License

0 commit comments

Comments
 (0)