pub struct Release {
pub command: Option<Command>,
pub registry: Option<String>,
pub manifest_path: Option<String>,
pub version: Option<String>,
pub config: Option<String>,
pub token: Option<String>,
pub backend: Option<Backend>,
}
Fields§
§command: Option<Command>
The release-plz command to run. Accepted values: release-pr, release. (By default it runs both commands).
registry: Option<String>
Registry where the packages are stored. The registry name needs to be present in the Cargo config. If unspecified, the publish field of the package manifest is used. If the publish field is empty, crates.io is used.
manifest_path: Option<String>
Path to the Cargo.toml of the project you want to update. Both Cargo workspaces and single packages are supported. (Defaults to the root directory).
version: Option<String>
Release-plz version to use. E.g. 0.3.70. (Default: latest version).
config: Option<String>
Release-plz config file location. (Defaults to release-plz.toml or .release-plz.toml).
token: Option<String>
Token used to publish to the cargo registry.
backend: Option<Backend>
Forge backend. Valid values: github, gitea. (Defaults to github).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnwindSafe for Release
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