2021-11-05 00:07:49 +08:00
|
|
|
# Generate CHANGELOG_LAST.md from changes since the last version tag. (vx.y.z-dev tags are ignored)
|
|
|
|
# CHANGELOG_LAST.md can be edited manually if required and manually added to docs/CHANGELOG.md
|
|
|
|
#
|
2022-03-21 18:25:51 +08:00
|
|
|
# Requirements:
|
2021-11-05 00:07:49 +08:00
|
|
|
# npm install -g auto-changelog
|
|
|
|
#
|
2022-03-21 18:25:51 +08:00
|
|
|
# Usage:
|
2021-11-05 00:07:49 +08:00
|
|
|
# changelog-gen <next-version>
|
|
|
|
#
|
2022-03-21 18:25:51 +08:00
|
|
|
# Example: if the latest verision is v5.6.7 the followings can be used for bugfix, minor or major versions:
|
|
|
|
# changelog-gen v5.6.8
|
|
|
|
# changelog-gen v5.7.0
|
|
|
|
# changelog-gen v6.0.0
|
2021-11-05 00:07:49 +08:00
|
|
|
|
|
|
|
auto-changelog -t changelog-template.hbs -l false --latest-version $1 --unreleased-only --tag-pattern ^v[0-9]+.[0-9]+.[0-9]+$ -o CHANGELOG_LAST.md
|