Skip to content

Commit

Permalink
Deploy using travis
Browse files Browse the repository at this point in the history
  • Loading branch information
excitement-engineer committed May 13, 2018
1 parent cc9626e commit 0fb69d6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
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
```

0 comments on commit 0fb69d6

Please sign in to comment.