50eb43971c
Split monolithic release.yml into independent workflows: - release-binaries.yml: tag-triggered, GoReleaser + git-cliff notes - release-docker.yml: tag-triggered + manual dispatch, SHA tags Add DEB/RPM packaging via nfpm in GoReleaser. Add Homebrew cask config (skip_upload until macOS builds exist). Replace GoReleaser built-in changelog with git-cliff for structured release notes.
46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[changelog]
|
|
header = """
|
|
# Changelog\n
|
|
"""
|
|
body = """
|
|
{% if version %}\
|
|
## [{{ version }}] — {{ timestamp | date(format="%Y-%m-%d") }}
|
|
{% else %}\
|
|
## [Unreleased]
|
|
{% endif %}\
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
### {{ group | striptags | trim }}
|
|
{% for commit in commits %}
|
|
- {{ commit.message | split(pat="\n") | first | trim }}\
|
|
{% endfor %}
|
|
{% endfor %}\n
|
|
"""
|
|
trim = true
|
|
|
|
[git]
|
|
conventional_commits = true
|
|
filter_unconventional = true
|
|
split_commits = false
|
|
protect_breaking_commits = false
|
|
filter_commits = false
|
|
tag_pattern = "[0-9]*"
|
|
topo_order = false
|
|
sort_commits = "oldest"
|
|
|
|
commit_parsers = [
|
|
{ message = "^feat", group = "Added" },
|
|
{ message = "^fix", group = "Fixed" },
|
|
{ message = "^perf", group = "Changed" },
|
|
{ message = "^refactor", group = "Changed" },
|
|
{ message = "^security", group = "Security" },
|
|
{ body = ".*security", group = "Security" },
|
|
{ body = "BREAKING", group = "Breaking" },
|
|
{ footer = "BREAKING.CHANGE", group = "Breaking" },
|
|
{ message = "^docs", skip = true },
|
|
{ message = "^style", skip = true },
|
|
{ message = "^chore", skip = true },
|
|
{ message = "^ci", skip = true },
|
|
{ message = "^test", skip = true },
|
|
{ message = "^build", skip = true },
|
|
]
|