feat: zero out version
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
24cf136ca4
commit
45670e8042
@ -229,6 +229,6 @@ fn parse_conventional_commits(
|
|||||||
fn get_current_version(significant_tag: Option<Tag>) -> Version {
|
fn get_current_version(significant_tag: Option<Tag>) -> Version {
|
||||||
let current_version = significant_tag
|
let current_version = significant_tag
|
||||||
.map(|st| Version::try_from(st).unwrap())
|
.map(|st| Version::try_from(st).unwrap())
|
||||||
.unwrap_or(Version::new(0, 1, 0));
|
.unwrap_or(Version::new(0, 0, 0));
|
||||||
current_version
|
current_version
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user