sendgrid/nodejs-http-client

Implement auto-deploy to package manager

thinkingserious opened this issue · 3 comments

Issue Summary

When all tests on the master branch pass in Travis CI, we would like to auto-deploy the release to the package manager.

Before writing any code, we suggest you review our CONTRIBUTING.md file and propose your solution for discussion here in the comments. Thank you!

Aceptance Criteria

  • when Travis CI passes all tests on the master branch we auto-deploy to the package manager
  • the version is determined by the CHANGELOG.md

@thinkingserious I would really like to look into this, later today.

@thinkingserious I've never really worked with travis, but after reading the docs for a bit my solution would work like the following.

  • before_deploy: Will run a nodejs script reading CHANGELOG.md that will then call npm version to bump the version.
  • deploy: Uses the NPM Provider to publish to npm when a push to master happens.

Closing as we're now using internal tooling for this.