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:
Kasper Juul Hermansen 2023-08-08 16:15:49 +02:00
parent bf3593eee4
commit 675947ed1e
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

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