chore(release): tag each plugin release as <plugin>-v<version> #223
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Holocron#223
Reference in new issue
Block a user
Problem
Consumers that pin a plugin by ref have nothing to pin to. Every plugin carries its own
version:inplugins/<name>/apm.yml(git1.3.9,mattpocock0.4.0, …), but the only tags are repo-level (v1.0.0,v2.0.0,v2.0.1) and match no plugin version. ADR-0024 (rejected option 2) already records that this per-package tagging discipline is not practised and would have to be invented.A consumer pinning
<host>/Mortis/Holocron/plugins/<plugin>#<plugin>-v<version>needs a tag per plugin release, so that Renovate'sapmmanager andapm outdatedcan propose each plugin's bump on its own.Proposal
plugins/, create an annotated tag<plugin>-v<version>on the commit that set its currentapm.ymlversion. Leave the existingv*tags in place.version:is followed, once onmain, by the matching annotated<plugin>-v<version>tag. Record this in an ADR, and say how it is held. There is no CI here, so the options are a manual step that is review-held, or a hook. A pre-push hook that fails whenmainhas a plugin version with no matching tag is one possibility.Acceptance criteria
git ls-remote --tagsshows one<plugin>-v<version>tag for every plugin's current version.plugins/<plugin>/apm.ymlcarries that version.apm outdatedon a consumer pinned togit-v<old>reports the newergit-v<version>tag. Record the apm version used.Notes
apmmanager reads this exact tag form. Check it against the Renovate version the consumer runs before closing.Assisted-by: Claude Code