File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ _Only core contributors may release to NPM._
85
85
To release a new version on NPM, first ensure all tests pass with ` npm test ` ,
86
86
then use ` npm version patch|minor|major ` in order to increment the version in
87
87
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.
89
90
Once published, add [ release notes] ( https://github.com/graphql/graphql-js/tags ) .
90
91
Use [ semver] ( https://semver.org/ ) to determine which version part to increment.
91
92
@@ -95,6 +96,7 @@ Example for a patch release:
95
96
npm test
96
97
npm version patch
97
98
git push --follow-tags
99
+ npm publish npmDist
98
100
```
99
101
100
102
## License
You can’t perform that action at this time.
0 commit comments