Skip to content

checkReleaseLines

checkReleaseLines(input): ReleaseTagCheck[]

Defined in: cli/astromech/src/release-tags/check-release-lines/check-release-lines.ts:36

Compares each release line’s newest tag, per channel, with what npm serves on that channel’s dist-tag.

semantic-release pushes its tag (and the refs/notes/semantic-release-<tag> note) before it publishes, so a publish that fails leaves a tag npm never received, and every later run sees the tag, finds nothing new and ends green. A package that serves an older version than the tag, or none at all, is behind. A line with no tag has nothing to check and gives no entry. A tag newer than graceSeconds is pending, because its own release may still be publishing. Pure: tags and npm’s answers come in as data.

CheckReleaseLinesInput

ReleaseTagCheck[]