Generate changelogs using Github Changelog Generator.
Make sure you have a Github token, if not, create one.
Then, create a taskman.yml
file in the project's root:
github:
token: REPLACE_WITH_YOUR_TOKEN_HERE
changelog:
user: php-taskman
project: changelog
filename: CHANGELOG.md
release:
branch: 0.x
between-tags: $(git tag --sort=-creatordate --merged '${github.changelog.release.branch}' | tr '\n' ',')
extra: --no-unreleased
and then:
./vendor/bin/taskman github:changelog
For more information about how to customise the building process check Taskman Changelog project page.