release/api-compatibility/hugo
A library checks its API against the previous release
Implements release/api-compatibility for hugo.
| Severity | info |
| Tiers | 1 |
| Stacks | hugo |
| Scope | root |
| Kind | expr |
| Source | library v0.3.1 |
| Selected by | fleetlint-recommended@v0.3.1 |
Requirement
A Hugo site is not a library; it has no API to keep compatible.
Why
A breaking change in a minor release is found by every user at once; the check finds it before the tag.
Applies when
falseCheck
trueFix
Add the stack’s API compatibility check to the release target or workflow, comparing against the previous tag (see https://fleetlint.org/stacks/).
Agent instruction: Add the stack’s API compatibility tool to the release workflow, comparing against the latest tag; on a breaking change bump the major version instead of silencing the tool.
See: https://fleetlint.org/baseline/#releases, https://fleetlint.org/stacks/#hugo--static-sites
Generated by fleetlint docs from catalog v0.3.1.