openeuropa / task-runner-changelog
Commands for generating and handling the changelog.
Requires
- php: ~7.1
- openeuropa/task-runner: dev-master
Requires (Dev)
- phpunit/phpunit: ~6.0||~7.0
- slevomat/coding-standard: ~6
- squizlabs/php_codesniffer: ~3
This package is auto-updated.
Last update: 2024-12-13 02:46:34 UTC
README
Task Runner commands for generating and handling the changelog.
This is a CLI command that generates a changelog using the OpenEuropa Taskrunner. It wraps the github-changelog-generator project.
This generates changelogs for projects that:
- Are publicly hosted on GitHub.
- Use GitHub issues and pull requests to manage development.
- Publish releases on GitHub.
Requirements
Installation
Add the project as a composer dependency inside the project for which to generate changelogs:
$ composer require openeuropa/task-runner-changelog
Usage
A GitHub Access token is required. It is advised to create a new token to use exclusively for this command.
The following examples will generate a changelog in the file CHANGELOG.md
which will be placed in the project root folder.
# Generate a changelog for an unreleased development version.
$ ./vendor/bin/run changelog:generate --token=TOKEN
# Generate a changelog for an upcoming 1.2.3 release.
$ ./vendor/bin/run changelog:generate --token=TOKEN --tag=1.2.3
For more information and additonal options see the built-in help:
$ ./vendor/bin/run changelog:generate --help
Development
Read the Task Runner documentation: https://github.com/openeuropa/task-runner/blob/master/README.md