Simple bot that handles release generation on github projects.
The bot will just listen to the webhooks of your projects github, is a push is detect and the message of the commit corresponds to the one configured in your config.json, it will create a new release on this commit.
With your type message commit in config.json, use patch
, minor
and major
to specify the release.
The description of the releases is based on the commit message after a line break \n\n
.
$ npm install
$ cp config.example.json config.json
Edit config.json
for your personal token github of bot account, trigger commit message and your github repositories.
$ npm start
Add the address of your nodejs server to the webhooks of your github projects classified in your config.json file.
Specify the content type on application/json and check Just the push event.
.