Open devpaul opened 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):
This would be a nice to have (and daily publish) when we refactor our release process. Moving under that epic.
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 inpackage.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:
-pre
tagpackage.json
is incremented and a-pre
tag is addedpackage.json
is committed and pushed w/ the tagsNOTE: 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.