xtask: Allow v1.2 spec links

This commit is contained in:
Jonas Platte 2022-02-02 22:58:49 +01:00
parent c4bccfe17e
commit 40a96b93b1
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -25,7 +25,9 @@ const SPLITS: &[(&str, VersionFn)] = &[
("https://matrix.org/docs/spec/push_gateway/", |s| {
s.starts_with("r0.1.1") || s.starts_with("unstable#")
}),
("https://spec.matrix.org/", |s| s.starts_with("v1.1") || s.starts_with("unstable")),
("https://spec.matrix.org/", |s| {
s.starts_with("v1.1") || s.starts_with("v1.2") || s.starts_with("unstable")
}),
];
pub(crate) fn check_spec_links(path: &Path) -> Result<()> {