From a20e9f888ed54b51fdc60b5514f201147e42a709 Mon Sep 17 00:00:00 2001 From: thinkgos Date: Thu, 15 Aug 2024 08:14:20 +0800 Subject: [PATCH] fix: add more go version test --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- goup-version/src/version.rs | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5077a5d..eab8671 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -799,7 +799,7 @@ dependencies = [ [[package]] name = "goup-downloader" -version = "0.9.2" +version = "0.9.3" dependencies = [ "anyhow", "flate2", @@ -813,7 +813,7 @@ dependencies = [ [[package]] name = "goup-rs" -version = "0.9.2" +version = "0.9.3" dependencies = [ "anyhow", "clap", @@ -832,7 +832,7 @@ dependencies = [ [[package]] name = "goup-version" -version = "0.9.2" +version = "0.9.3" dependencies = [ "anyhow", "dirs", diff --git a/Cargo.toml b/Cargo.toml index bd6caab..316f586 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ default-members = ["goup"] [workspace.package] -version = "0.9.2" +version = "0.9.3" authors = ["thinkgo "] edition = "2021" rust-version = "1.74" diff --git a/goup-version/src/version.rs b/goup-version/src/version.rs index 612450a..a456f04 100644 --- a/goup-version/src/version.rs +++ b/goup-version/src/version.rs @@ -670,6 +670,12 @@ mod tests { "1.22.1", "1.22.2", "1.22.3", + "1.22.4", + "1.22.5", + "1.22.6", + "1.23rc1", + "1.23rc2", + "1.23.0", ]; for ver in go_versions { assert!(Version::semantic(ver).is_ok())