pub struct ReleaseOptions {Show 14 fields
pub repo_root: PathBuf,
pub owner: String,
pub repo: String,
pub base_branch: Option<String>,
pub bump: Option<BumpLevel>,
pub tag_prefix: String,
pub tag_style: TagStyle,
pub update_major_alias: bool,
pub commit_message: String,
pub create_pr: bool,
pub release_branch: String,
pub dry_run: bool,
pub extra_files: Vec<PathBuf>,
pub phase: ReleasePhase,
}Fields§
§repo_root: PathBuf§owner: String§repo: String§base_branch: Option<String>§bump: Option<BumpLevel>Forced bump level; None derives it from conventional commits.
tag_prefix: String§tag_style: TagStyle§update_major_alias: bool§commit_message: StringCommit message template; {version} is replaced with the new version.
create_pr: boolCreate or refresh an automation-owned release branch and pull request instead of publishing directly to the base branch.
release_branch: String§dry_run: bool§extra_files: Vec<PathBuf>Extra working-tree files to stage into the release commit, on top of the manifest and lockfile rewrites. Paths already covered by the version rewrite are ignored so the rewrite stays authoritative.
phase: ReleasePhaseTrait Implementations§
Source§impl Clone for ReleaseOptions
impl Clone for ReleaseOptions
Source§fn clone(&self) -> ReleaseOptions
fn clone(&self) -> ReleaseOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReleaseOptions
impl Debug for ReleaseOptions
impl Eq for ReleaseOptions
Source§impl PartialEq for ReleaseOptions
impl PartialEq for ReleaseOptions
impl StructuralPartialEq for ReleaseOptions
Auto Trait Implementations§
impl Freeze for ReleaseOptions
impl RefUnwindSafe for ReleaseOptions
impl Send for ReleaseOptions
impl Sync for ReleaseOptions
impl Unpin for ReleaseOptions
impl UnsafeUnpin for ReleaseOptions
impl UnwindSafe for ReleaseOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.