This script will create a Jekyll post from the body of an issue.
The script has an endpoint triggered by GitHub issue
webhook:
$ curl -X POST https://bebanjo-releases-builder.herokuapp.com/ping
The issue must also have the tag column:release
and frontmatter
like this:
---
title: Title of the release note
date: YYYY-MM-DD HH:MM:SS
updated: YYYY-MM-DD HH:MM:SS
revision: 1
---
Description of the release note.
## References
- `repo#number` Title of the referenced issue
git clone [email protected]:bebanjo/releases-builder.git
and cd releases-builder
cp .env-sample .env
, edit and get a personal token (repo access)bundle install
foreman start web
e.g. -> https://bebanjo-releases-builder.herokuapp.com
https://github.com/<user>/<repo>/settings/hooks
https://bebanjo-releases-builder.herokuapp.com/ping
At the moment, the code is setup in a Heroku account (tech_admin@bebanjo.com user). In order to release a new version of the code, you just need to push your changes to the stable
branch in Github, and Heroku will automatically deploy the changes.