A new version of releasebot has just been released!
releasebot is a Grunt task for triggering an automated release process when a commit message matches a predefined regular expression. Comes complete with rollback when subsequent operations fail to execute.
So, you can essentially include something like "release v0.0.1" or "release v*.*.+" in your commit message and when your CI runs the task the release will be detected and proceed to execute the following actions:
- Capture commit details from Git (on task registration)
- Check for release trigger within commit message
- Update package version to current release version (if needed)
- Capture/write change log and/or authors (if directed)
- Generate release archive assets (zip and tar)
- Release/Tag version (with change log as description)
- Upload archive assets
- Publish/Push release distribution contents to distribution/pages/docs branch- such as GitHub Pages (creating the branch- if needed)
- Publish release archive asset to npm
- Update/Bump package version to next release version (auto increment or specified in commit message)
If anyone is interested in joining the development effort feel free to reach out!
https://www.npmjs.org/package/releasebot
https://github.com/ugate/releasebot