Enum xtask::release::ReleaseCommand
source · enum ReleaseCommand {
Prepare {
version: ReleaseVersion,
execute: bool,
},
Publish {
execute: bool,
},
WeeklyReport,
Changelog,
}
Variants§
Prepare
Prepare the release of the matrix-sdk workspace.
This command will update the README.md
, prepend the CHANGELOG.md
file using git cliff
, and bump the versions in the Cargo.toml
files.
Fields
§
version: ReleaseVersion
What type of version bump we should perform.
Publish
Publish the release.
This command will create signed tags, publish the release on crates.io, and finally push the tags to the repo.
WeeklyReport
Get a list of interesting changes that happened in the last week.
Changelog
Generate the changelog for a specific crate, this shouldn’t be run manually, cargo-release will call this.
Trait Implementations§
source§impl FromArgMatches for ReleaseCommand
impl FromArgMatches for ReleaseCommand
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>
Assign values from
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>
Assign values from
ArgMatches
to self
.source§impl PartialEq for ReleaseCommand
impl PartialEq for ReleaseCommand
source§fn eq(&self, other: &ReleaseCommand) -> bool
fn eq(&self, other: &ReleaseCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Subcommand for ReleaseCommand
impl Subcommand for ReleaseCommand
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
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandimpl StructuralPartialEq for ReleaseCommand
Auto Trait Implementations§
impl Freeze for ReleaseCommand
impl RefUnwindSafe for ReleaseCommand
impl Send for ReleaseCommand
impl Sync for ReleaseCommand
impl Unpin for ReleaseCommand
impl UnwindSafe for ReleaseCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more