Implement auto-deploy to package manager
thinkingserious opened this issue · 3 comments
thinkingserious commented
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
mauricetmeyer commented
@thinkingserious I would really like to look into this, later today.
mauricetmeyer commented
@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.mdthat will then callnpm versionto bump the version. - deploy: Uses the NPM Provider to publish to npm when a push to master happens.
childish-sambino commented
Closing as we're now using internal tooling for this.