new: drive the forge hosts and tarball templates from data/forges.yml

This commit is contained in:
2026-09-18 13:30:42 +02:00
parent 7601524b7c
commit 12407c8eac
6 changed files with 182 additions and 78 deletions
+1 -4
View File
@@ -1537,10 +1537,7 @@ mod tests {
resolve(cli).await.unwrap().orig,
Some(OrigOrigin::Release {
tag: "v1.2.3".to_string(),
forge: crate::new::origin::Forge::GitHub {
owner: "foo".into(),
repo: "bar".into()
}
forge: crate::new::origin::Forge::parse("https://github.com/foo/bar.git").unwrap(),
})
);