pub enum ReleaseAction {
Status {
target: Utf8PathBuf,
wait: Option<String>,
timeout: u64,
json: bool,
},
Merge {
target: Utf8PathBuf,
apply: bool,
timeout: u64,
json: bool,
},
Request {
target: Utf8PathBuf,
json: bool,
},
Build {
target: Utf8PathBuf,
list: bool,
json: bool,
},
Eligible {
target: Utf8PathBuf,
json: bool,
},
Publish {
target: Utf8PathBuf,
json: bool,
},
}Expand description
The release verbs.
Variants§
Status
Report the release style, the release request, the last release, each release line, and every symptom a stuck release shows. The record fields read offline; a forge field reads unknown where this runtime cannot read the forge.
Fields
target: Utf8PathBufThe repository to report on.
Merge
Merge the trunk’s release request on the operator’s order. Without
--apply, read the one open release request against the trunk, the
trunk tip, its head, and the required check for that head, and write
nothing. With --apply, dispatch the landed merge job with exactly
those values, which runs as the release bot, proves each one again,
and merges with the head pinned, then wait for that one run. A
release line keeps the merge by a person.
Fields
target: Utf8PathBufThe landed target whose trunk release request merges.
Request
Keep the one release request of the pushed base on
rk-release/<base>: propose the next version, write it and the
changelog, force-push as the bot, and open or edit the request,
which it never arms: a release waits for the operator’s order. Runs
in CI on a push to the trunk or a release line; every fact comes
from the record.
Fields
target: Utf8PathBufThe checkout the release job runs in.
Build
Decide whether this push releases, and build it: report
release, resume, or skip, and write the artifacts’
checksums, the notes, and the report into .rk-release/. A skip
exits 0.
Fields
target: Utf8PathBufThe checkout the release job runs in.
Eligible
Answer whether the change since the last release is worth a release: a file the package ships changed, and a commit that touched the packed files is a feat, fix, or perf commit or marks a breaking change. Writes nothing and reads no forge; the last release is the release tag git holds. A rust target’s request job runs it before release-plz.
Fields
target: Utf8PathBufThe checkout to judge.
Publish
Publish what rk release build reported, after the provenance:
upload every asset, then create the forge release, which creates
the tag last. A rerun keeps what already exists and adds what is missing.
Fields
target: Utf8PathBufThe checkout the release job runs in.
Trait Implementations§
Source§impl Debug for ReleaseAction
impl Debug for ReleaseAction
Source§impl FromArgMatches for ReleaseAction
impl FromArgMatches for ReleaseAction
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for ReleaseAction
impl Subcommand for ReleaseAction
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand