release/semver-tags
Tags are semantic versions
| Severity | warning |
| Tiers | all |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.0.0-20261011205826-ecb4e9b3ffd4 |
| Selected by | fleetlint-recommended@0.1.0 |
Requirement
Every tag is vMAJOR.MINOR.PATCH[-prerelease], optionally prefixed with a component name and slash in monorepos.
Why
Release tooling, changelog generation and dependency resolvers all key on the pattern.
Applies when
repo.has_git && tags().size() > 0Check
For each item in:
tags()item.matches("^([A-Za-z0-9_.-]+/)?v?[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?(\\+[0-9A-Za-z.-]+)?$")Fix
Delete or rename the offending tags; tag releases as vX.Y.Z from now on.
Agent instruction: List the offending tags for the user; do not delete tags without confirmation.
Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.