pub fn verify_version(
repo_path: &Path,
scope: &Scope,
) -> Result<VersionState, Box<dyn Error>>Expand description
契约模块 — 适配层,委托给 quanttide-devops toolkit。
从 git tag 和配置文件中读取版本号,验证一致性。
组合两个事实源([source::git_tag::latest_tag] 和
[source::config_file::read_config_versions]),应用一致性规则,
返回 VersionState。