Generate release changelogs using ZenHub pipelines.
This script will:
- generate a changelog based on issues in a ZenHub pipeline
- create a GitHub release and set the changelog in its description
First, clone the repository or download a stable release and unzip it. Then install the dependencies using Composer:
composer install
To create a release, run the command with all the arguments:
./zenhub-release release wizaplace/wizaplace 1.17.04.13.0 --pipeline="À déployer" --github-token=... --zenhub-token=...
You must provide:
- the repository name
- the release name (tag name)
- the pipeline containing the issues that are going in the next release (with
--pipeline=
) - a GitHub token with
--github-token=
- a ZenHub token with
--zenhub-token=