molt status
Show what the next release would contain -- the pending changesets and the versions they project -- without changing anything.
Synopsis
Description
molt status reads the pending changesets, assembles the release plan, and reports it. It writes nothing, so it is safe to run any time. It has two jobs:
- A preview of the next
molt versionfor a human, grouped by bump type.--verboseadds the projected new version and the source changeset for each package. - A CI gate. When at least one versionable package has changed but no changeset covers it,
molt statusexits 1 with guidance to runmolt add(ormolt add --emptyif the change needs no release). This is the check you run on every pull request.
--output json emits the plan as a machine-readable document to stdout, for tooling that decides what to do next. See Status checks.
Options
On
molt status,-vmeans--verbose, not--version-- a deliberate carry-over from changesets. Use the long--versiononmoltitself for the version string.
Exit codes
Examples
Rendered preview:
Verbose, with projected versions and sources:
Machine-readable, for CI:
As a pull-request gate:
See also
- Status checks -- using
statusas a CI gate. - CI: GitHub Action.
- The release plan -- the object
--output jsonprints.