relizy / reconcileFromTag
Function: reconcileFromTag()
reconcileFromTag(
__namedParameters):Promise<string>
Defined in: src/core/rewritten-tags.ts:200
Ensure the resolved from tag is reachable from to. When it is not (a rewritten / orphaned tag), explain the situation and either prompt the user or auto-correct, depending on the configured strategy. Returns the effective from to use (the original tag, the rebound tag, or the equivalent commit SHA for an ephemeral correction).
No commit is ever rewritten; the only mutation possible is moving a tag.
Parameters
__namedParameters
config
dryRun?
boolean = false
from
string
pkg?
to
string
Returns
Promise<string>