pub fn parse_tag(tag: &str) -> Option<Version>
Parse a tag name as a semver version tag: one leading v is dropped, then the rest must be strict semver. v1.0.0 and 1.0.0 are versions; latest and nightly-2024 are not.
v
v1.0.0
1.0.0
latest
nightly-2024