feat: allow v in start of versions
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
bf3593eee4
commit
675947ed1e
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user