Skip to content

A GitHub App built with Probot that creates GitHub Release following Conventional Commits

License

Notifications You must be signed in to change notification settings

hahow/probot-conventional-release

Repository files navigation

GitHub Conventional Release Bot

Build Status

A GitHub App built with Probot that creates GitHub Release following Conventional Commits.

Usage

  1. Install and configure the GitHub App: github.com/apps/conventional-release-bot
  2. Add commit that message structure should following Conventional Commits
<type>[optional scope]: <description>

[optional body]

[optional footer]
  1. Push commits (or merged PR) to master branch, and then the GitHub Release will be created

1_luxfee4jnww2lr9_22sdca

  1. Git tags (based on SemVer)
  2. Release date
  3. Release types: Bug Fixes, New Features and BREAKING CHANGES (follow Conventional Commits's type)
  4. Commit's scope (follow Conventional Commits's scope)
  5. Commit's description
  6. Commit's SHA
  7. Commit's author
  8. Diff with last release

Developer Guide

Follow the Configure a GitHub App section of Probot document to create your GitHub App

Requirements

  • node >= 8.9.3
  • yarn >= 1.3.2

Permissions

  • Pull requests Access: Read & write
  • Repository contents Access: Read & write

screen shot 2018-01-08 at 17 53 42

Subscribe to events

  • Pull request

screen shot 2018-01-08 at 12 22 52

Installation

Clone repository:

$ git clone https://github.com/hahow/probot-conventional-release.git

Install packages:

$ yarn install

Run Probot server:

$ yarn start

Deployment

You can deploy the app to Glitch, Heroku or Now.