You've already forked computing-box
chore: add git-cliff configuration
Some checks failed
Changelog + Release on main / changelog_and_release (push) Failing after 33s
Some checks failed
Changelog + Release on main / changelog_and_release (push) Failing after 33s
feat(release): implement incremental changelog and versioned release workflow - Generate changelog from previous release tag to HEAD - Replace full-history changelog with incremental git-cliff usage - Add automatic version bump from date-based tag - Commit and push version updates (package.json and lockfile) - Refactor workflow order to align changelog, versioning, and build - Improve Node setup and add version checks - Introduce cliff.toml configuration for grouped changelog output - Add generated version.json for runtime version display - Update footer layout to include dynamic version and release link Signed-off-by: Alexander Lyall <alex@adcm.uk>
This commit is contained in:
35
cliff.toml
Normal file
35
cliff.toml
Normal file
@@ -0,0 +1,35 @@
|
||||
[changelog]
|
||||
header = """
|
||||
# Changelog
|
||||
"""
|
||||
|
||||
body = """
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
## {{ group }}
|
||||
{% for commit in commits %}
|
||||
- {{ commit.message | upper_first }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
"""
|
||||
|
||||
footer = ""
|
||||
|
||||
[git]
|
||||
conventional_commits = false
|
||||
filter_unconventional = false
|
||||
split_commits = false
|
||||
topo_order = true
|
||||
|
||||
# IMPORTANT: match your tag format
|
||||
tag_pattern = "^v[0-9]{2}\\.[0-9]{2}\\.[0-9]{2}[a-z]$"
|
||||
|
||||
commit_parsers = [
|
||||
{ message = "^feat", group = "🚀 Features" },
|
||||
{ message = "^fix", group = "🐛 Fixes" },
|
||||
{ message = "^refactor", group = "♻️ Refactoring" },
|
||||
{ message = "^docs", group = "📚 Documentation" },
|
||||
{ message = "^chore", group = "💼 Other" },
|
||||
|
||||
# catch-all so NOTHING is dropped
|
||||
{ message = ".*", group = "💼 Other" },
|
||||
]
|
||||
Reference in New Issue
Block a user