Skip to main content

Module publish

Module publish 

Source
Expand description

Per-package publish orchestration.

Dispatches each package’s publish config to a typed Publisher that knows how to query its registry (state check) and shell out to the publishing tool (run). Stateless: the registry is the source of truth, not sr. Every invocation asks every configured package “are you already at this version?” and runs when the answer is no.

Enums§

PublishOutcome
Outcome of a single package’s publish attempt. Reported to callers (the Publish stage, or CLI sr publish) for aggregate reporting.

Functions§

run_package_publish
Run publish for a single package. Dispatches on the package’s publish config: