pub struct GitVersionConfiguration {Show 37 fields
pub workflow: Option<String>,
pub assembly_versioning_scheme: Option<VersioningScheme>,
pub assembly_file_versioning_scheme: Option<VersioningScheme>,
pub assembly_informational_format: Option<String>,
pub assembly_versioning_format: Option<String>,
pub assembly_file_versioning_format: Option<String>,
pub tag_prefix: Option<String>,
pub version_in_branch_pattern: Option<String>,
pub next_version: Option<String>,
pub major_version_bump_message: Option<String>,
pub minor_version_bump_message: Option<String>,
pub patch_version_bump_message: Option<String>,
pub no_bump_message: Option<String>,
pub tag_pre_release_weight: Option<i64>,
pub commit_date_format: Option<String>,
pub semantic_version_format: Option<SemanticVersionFormat>,
pub update_build_number: Option<bool>,
pub strategies: Vec<VersionStrategy>,
pub increment: Option<IncrementStrategy>,
pub mode: Option<DeploymentMode>,
pub label: Option<String>,
pub regex: Option<String>,
pub commit_message_incrementing: Option<CommitMessageIncrementMode>,
pub prevent_increment: Option<PreventIncrement>,
pub track_merge_target: Option<bool>,
pub track_merge_message: Option<bool>,
pub tracks_release_branches: Option<bool>,
pub is_release_branch: Option<bool>,
pub is_main_branch: Option<bool>,
pub pre_release_weight: Option<i64>,
pub source_branches: Vec<String>,
pub is_source_branch_for: Vec<String>,
pub label_number_pattern: Option<String>,
pub ignore: IgnoreConfig,
pub merge_message_formats: BTreeMap<String, String>,
pub branches: BTreeMap<String, BranchConfiguration>,
pub exec: BTreeMap<String, String>,
}Expand description
Root GitVersion configuration.
Fields§
§workflow: Option<String>§assembly_versioning_scheme: Option<VersioningScheme>§assembly_file_versioning_scheme: Option<VersioningScheme>§assembly_informational_format: Option<String>§assembly_versioning_format: Option<String>§assembly_file_versioning_format: Option<String>§tag_prefix: Option<String>§version_in_branch_pattern: Option<String>§next_version: Option<String>§major_version_bump_message: Option<String>§minor_version_bump_message: Option<String>§patch_version_bump_message: Option<String>§no_bump_message: Option<String>§tag_pre_release_weight: Option<i64>§commit_date_format: Option<String>§semantic_version_format: Option<SemanticVersionFormat>§update_build_number: Option<bool>§strategies: Vec<VersionStrategy>§increment: Option<IncrementStrategy>§mode: Option<DeploymentMode>§label: Option<String>§regex: Option<String>§commit_message_incrementing: Option<CommitMessageIncrementMode>§prevent_increment: Option<PreventIncrement>§track_merge_target: Option<bool>§track_merge_message: Option<bool>§tracks_release_branches: Option<bool>§is_release_branch: Option<bool>§is_main_branch: Option<bool>§pre_release_weight: Option<i64>§source_branches: Vec<String>§is_source_branch_for: Vec<String>§label_number_pattern: Option<String>Global default label-number-pattern. Can be overridden per branch.
ignore: IgnoreConfig§merge_message_formats: BTreeMap<String, String>§branches: BTreeMap<String, BranchConfiguration>§exec: BTreeMap<String, String>External command hooks (similar to the semantic-release exec plugin). Hook name -> shell command. Supported hooks: verify, prepare, publish, success, fail.
Trait Implementations§
Source§impl Clone for GitVersionConfiguration
impl Clone for GitVersionConfiguration
Source§fn clone(&self) -> GitVersionConfiguration
fn clone(&self) -> GitVersionConfiguration
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 GitVersionConfiguration
impl Debug for GitVersionConfiguration
Source§impl Default for GitVersionConfiguration
impl Default for GitVersionConfiguration
Source§fn default() -> GitVersionConfiguration
fn default() -> GitVersionConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitVersionConfiguration
impl<'de> Deserialize<'de> for GitVersionConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GitVersionConfiguration
impl RefUnwindSafe for GitVersionConfiguration
impl Send for GitVersionConfiguration
impl Sync for GitVersionConfiguration
impl Unpin for GitVersionConfiguration
impl UnsafeUnpin for GitVersionConfiguration
impl UnwindSafe for GitVersionConfiguration
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more