pub async fn publish<G, R, N, F>(
request: PublishRequest<'_, G, R, N, F>,
) -> Result<Vec<Outcome>, Error>where
G: GitCommands + GitHistory + GitRefs + ProposalGit,
R: PackageRegistry,
N: PackageRegistry,
F: ForgeRelease + ForgeTags,Expand description
Publish the selected release units. Every step reads the remote first, so rerunning after any failure finishes the job.
ยงErrors
Returns an error when a precondition, unit selection, staging, or a publication step fails.