dojo / grunt-dojo2-extras

Grunt tasks and code supporting continuous delivery across projects. Deploys to gh-pages and latest branch.
https://dojo.github.io/grunt-dojo2-extras/
Other
0 stars 6 forks source link

Add task to publish to npm #13

Open devpaul opened 7 years ago

devpaul commented 7 years ago

As an engineer, it would be nice to have a way to instruct Travis automatically publish to npm or to publish locally using an automated process.

An automated publish could be triggered by committing to master w/ [npm-publish] in the commit message. The system would then validate the commit, check that version in package.json is valid and not marked w/ -pre, and that the version is not already published to npm.

The process would look something like this:

NOTE: Doing a GitHub release requires OAuth credentials for GitHub, which would provide access to all repositories, so we may want to consider automating release notes as a separate feature.

matt-gadd commented 7 years ago

might be worth looking at grunt-dojo2's release task, which we use for releasing our @dojo packages. it would be good to merge efforts and have one release tool. the current task is basic but it does the following (locally):

kitsonk commented 7 years ago

This would be a nice to have (and daily publish) when we refactor our release process. Moving under that epic.