pub struct TrunkReleaseStrategy<G, V, C, F, H> {
pub git: G,
pub vcs: Option<V>,
pub parser: C,
pub formatter: F,
pub hooks: H,
pub config: ReleaseConfig,
pub force: bool,
}Expand description
Concrete release strategy implementing the trunk-based release flow.
Fields§
§git: G§vcs: Option<V>§parser: C§formatter: F§hooks: H§config: ReleaseConfig§force: boolWhen true, re-release the current tag if HEAD is at the latest tag.
Trait Implementations§
Source§impl<G, V, C, F, H> ReleaseStrategy for TrunkReleaseStrategy<G, V, C, F, H>
impl<G, V, C, F, H> ReleaseStrategy for TrunkReleaseStrategy<G, V, C, F, H>
Source§fn plan(&self) -> Result<ReleasePlan, ReleaseError>
fn plan(&self) -> Result<ReleasePlan, ReleaseError>
Plan the release without executing it.
Source§fn execute(&self, plan: &ReleasePlan, dry_run: bool) -> Result<(), ReleaseError>
fn execute(&self, plan: &ReleasePlan, dry_run: bool) -> Result<(), ReleaseError>
Execute the release.
Auto Trait Implementations§
impl<G, V, C, F, H> Freeze for TrunkReleaseStrategy<G, V, C, F, H>
impl<G, V, C, F, H> RefUnwindSafe for TrunkReleaseStrategy<G, V, C, F, H>
impl<G, V, C, F, H> Send for TrunkReleaseStrategy<G, V, C, F, H>
impl<G, V, C, F, H> Sync for TrunkReleaseStrategy<G, V, C, F, H>
impl<G, V, C, F, H> Unpin for TrunkReleaseStrategy<G, V, C, F, H>
impl<G, V, C, F, H> UnwindSafe for TrunkReleaseStrategy<G, V, C, F, H>
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