From 45670e804249c24ffb411a56b715cc2a2e3b5489 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 1 Aug 2023 17:52:45 +0200 Subject: [PATCH] feat: zero out version Signed-off-by: kjuulh --- crates/cuddle-please-commands/src/release_command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cuddle-please-commands/src/release_command.rs b/crates/cuddle-please-commands/src/release_command.rs index 82c949e..565ef9c 100644 --- a/crates/cuddle-please-commands/src/release_command.rs +++ b/crates/cuddle-please-commands/src/release_command.rs @@ -229,6 +229,6 @@ fn parse_conventional_commits( fn get_current_version(significant_tag: Option) -> 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 }