feat: allow v in start of versions
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-08 16:15:49 +02:00
parent bf3593eee4
commit 675947ed1e

View File

@@ -517,6 +517,7 @@ impl TryFrom<Tag> for Version {
tracing::trace!(name = &value.name, "parsing tag into version"); tracing::trace!(name = &value.name, "parsing tag into version");
value value
.name .name
.trim_start_matches("v")
.parse::<Version>() .parse::<Version>()
.context("could not get version from tag") .context("could not get version from tag")
} }