feat: zero out version

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-01 17:52:45 +02:00
parent 24cf136ca4
commit 45670e8042
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -229,6 +229,6 @@ fn parse_conventional_commits(
fn get_current_version(significant_tag: Option<Tag>) -> Version {
let current_version = significant_tag
.map(|st| Version::try_from(st).unwrap())
.unwrap_or(Version::new(0, 1, 0));
.unwrap_or(Version::new(0, 0, 0));
current_version
}