pub enum ReleaseAction {
Status {
target: Utf8PathBuf,
wait: Option<String>,
timeout: u64,
json: bool,
},
Request {
target: Utf8PathBuf,
json: bool,
},
Build {
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.
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, open or edit the request, and arm
it where the record’s style arms. 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.
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