Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

version Minimum Node Version GitHub license

releaser-bot

Simple bot that handles release generation on github projects.

How it works

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.

Install

$ 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.

Run

$ npm start

Webhooks

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..