Skip to main content

validate

Function validate 

Source
pub fn validate(config: &GitVersionConfiguration) -> Result<()>
Expand description

Validate configuration (mirrors the original ConfigurationBuilderBase.ValidateConfiguration).

Every branch must have a regex, and source-branches may only reference configured branches. Violations return an error (the original throws ConfigurationException).