Weles/Docs

CLI command

weles release adopt-baseline

Record what a release published: write the released surface and the version declaration from the surface document that release carried, so the version gate judges later revisions against a real release instead of a hand-kept claim. Refuses a baseline that moves backwards unless the caller names the version being overridden, and refuses a surface document that names nothing.

Purpose#

Record what a release published: write the released surface and the version declaration from the surface document that release carried, so the version gate judges later revisions against a real release instead of a hand-kept claim. Refuses a baseline that moves backwards unless the caller names the version being overridden, and refuses a surface document that names nothing.

Invocation#

Usage
weles release adopt-baseline --released <version> --published-surface <file> --reason <text> [--correcting <version>] [--json]

Options#

Options of weles release adopt-baseline
OptionEffect
--releasedweles --help names this option in the usage line and gives it no description.
--published-surfaceweles --help names this option in the usage line and gives it no description.
--reasonweles --help names this option in the usage line and gives it no description.
--correctingweles --help names this option in the usage line and gives it no description.
--jsonPrint the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries.

Help#

`weles release adopt-baseline --help` prints these usage lines and never runs the command.