pub struct TrunkReleaseStrategy<G, V, C, F> {
pub git: G,
pub vcs: Option<V>,
pub parser: C,
pub formatter: F,
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§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> ReleaseStrategy for TrunkReleaseStrategy<G, V, C, F>
impl<G, V, C, F> ReleaseStrategy for TrunkReleaseStrategy<G, V, C, F>
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> Freeze for TrunkReleaseStrategy<G, V, C, F>
impl<G, V, C, F> RefUnwindSafe for TrunkReleaseStrategy<G, V, C, F>
impl<G, V, C, F> Send for TrunkReleaseStrategy<G, V, C, F>
impl<G, V, C, F> Sync for TrunkReleaseStrategy<G, V, C, F>
impl<G, V, C, F> Unpin for TrunkReleaseStrategy<G, V, C, F>
impl<G, V, C, F> UnwindSafe for TrunkReleaseStrategy<G, V, C, F>
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