ci(artifacthub): structured changelog with link on major - #1925
ci(artifacthub): structured changelog with link on major#1925mloiseleur wants to merge 3 commits into
Conversation
Emit the structured artifacthub.io/changes annotation so Artifact Hub renders per-kind badges (feat->added, fix->fixed, else changed) and strips gitmoji shortcodes. On a major release (X.0.0), collapse the annotation to a single 'changed' entry that links to the release Upgrade Notes, so the breaking-change signal is not buried in a long commit list.
|
Nice one — the breaking-change link on major is exactly what we were missing after #1898. Few things I'd tweak before it goes in: The gitmoji stripping doesn't fully work — the regex only catches text shortcodes like Also, every release ends up listing its own Small hardening: Last one, and the bigger one: right now everything that isn't feat/fix falls into
|
|
Pushed 8c922f1 with all four points, ready for another pair of eyes while @mloiseleur is away.
Re-ran against the real |
|
@bpsoraggi could you have a look ? |
What does this PR do?
Emit the structured
artifacthub.io/changesannotation fromhack/changelog.sh:feat→added,fix→fixed, else changed), gitmoji stripped.X.0.0) → singlechangedentry linking to the release Upgrade Notes.Generated output — last 3 versions
Motivation
Artifact Hub buried the v41 breaking changes in a flat commit list (#1898). Artifact Hub has no "breaking" kind, so a major collapses to one entry pointing at the upgrade guide — impossible to miss.
More
make testand all the tests passed