-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc9626e
commit 0fb69d6
Showing
2 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,12 @@ node_js: | |
script: | ||
- npm run ci | ||
|
||
# deploy: | ||
# provider: npm | ||
# skip_cleanup: true | ||
# email: [email protected] | ||
# api_key: | ||
# secure: b/xf5WxoNhvVEUCIw7I3iqurPzR/CSgereQS0sFQV5aWYTWLQMi+YtUptOuHg/Yau0pYhg77EaOJfwUPOlZk/HgjIkV094hKqq2HDaa9/Foqejdrz/1F9lWy9zNLoNIeZ9CnI5h460wRNj08Rz6ex4xUz0wm9dnDF85xl/wDoQbLmpKUDXQUeWK77uvD/sijXrK/mtmCCQD8L466JGiBC+9RX+IZk2SqEr2vNcnpk6pjHYvkzjDE8B9UIu9qK0QuWg3RMzc1ABvZvFhC9AyW6iMoliYI44VN8coXM8Gtpo6BLfyh2wdb/mbWGYnPb030qu0nYZJ89jwTrd6VTqwAM6oGaNvT0964eNnqpipE1Gx8YcHXLAdTWC+yB5zSthZunG5Hz5WsZAIHC9UUoj33DSbiQAf36SokfLPNZ/Uj1hnQwuGozCRywWA18K/r7+/FlB+f0Q/e72rQDA/9ocdDghwxYkxgaqtKaWnYDVAGuIliRWw+cikLbQDxbcfY7MTg3MUcmdh3pOrWNrwPEpn6H5O9Kci6mpVwx92eZJd/kXBLQlGI5McI+q1vws+l01v/zw+cUs5GItLJavNK/4U0G7EZYMi9b6xzdIaykct0r7Y0Wnpm2NQrs0DN+3WQxUji/HaWNR7z+/Pv1pdKYpdpOuB1RLJXCd2Olddxj+/0p+4= | ||
# on: | ||
# tags: true | ||
# branch: master | ||
deploy: | ||
provider: npm | ||
skip_cleanup: true | ||
email: [email protected] | ||
api_key: | ||
secure: b/xf5WxoNhvVEUCIw7I3iqurPzR/CSgereQS0sFQV5aWYTWLQMi+YtUptOuHg/Yau0pYhg77EaOJfwUPOlZk/HgjIkV094hKqq2HDaa9/Foqejdrz/1F9lWy9zNLoNIeZ9CnI5h460wRNj08Rz6ex4xUz0wm9dnDF85xl/wDoQbLmpKUDXQUeWK77uvD/sijXrK/mtmCCQD8L466JGiBC+9RX+IZk2SqEr2vNcnpk6pjHYvkzjDE8B9UIu9qK0QuWg3RMzc1ABvZvFhC9AyW6iMoliYI44VN8coXM8Gtpo6BLfyh2wdb/mbWGYnPb030qu0nYZJ89jwTrd6VTqwAM6oGaNvT0964eNnqpipE1Gx8YcHXLAdTWC+yB5zSthZunG5Hz5WsZAIHC9UUoj33DSbiQAf36SokfLPNZ/Uj1hnQwuGozCRywWA18K/r7+/FlB+f0Q/e72rQDA/9ocdDghwxYkxgaqtKaWnYDVAGuIliRWw+cikLbQDxbcfY7MTg3MUcmdh3pOrWNrwPEpn6H5O9Kci6mpVwx92eZJd/kXBLQlGI5McI+q1vws+l01v/zw+cUs5GItLJavNK/4U0G7EZYMi9b6xzdIaykct0r7Y0Wnpm2NQrs0DN+3WQxUji/HaWNR7z+/Pv1pdKYpdpOuB1RLJXCd2Olddxj+/0p+4= | ||
on: | ||
tags: true | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Release on NPM | ||
|
||
_Only core contributors may release to NPM._ | ||
|
||
To release a new version on NPM, first ensure all tests pass with `npm test`, | ||
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` | ||
this change so Travis CI can deploy to NPM. _Do not run `npm publish` directly._ | ||
Once published, add [release notes](https://github.com/excitement-engineer/graphql-iso-date/tags). | ||
Use [semver](http://semver.org/) to determine which version part to increment. | ||
|
||
Example for a patch release: | ||
|
||
```sh | ||
npm test | ||
npm version patch | ||
git push --follow-tags | ||
``` |