From ca3ef20ccc396806c567aa6715b354beb7771bb7 Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Tue, 14 Feb 2023 13:27:37 +0000 Subject: [PATCH] Fix version regex. (#2364) --- .../publisher/src/subcommand/upgrade_runtime_crates_version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci-build/publisher/src/subcommand/upgrade_runtime_crates_version.rs b/tools/ci-build/publisher/src/subcommand/upgrade_runtime_crates_version.rs index 0bf17e3c01..e5b6552cdf 100644 --- a/tools/ci-build/publisher/src/subcommand/upgrade_runtime_crates_version.rs +++ b/tools/ci-build/publisher/src/subcommand/upgrade_runtime_crates_version.rs @@ -28,7 +28,7 @@ pub async fn subcommand_upgrade_runtime_crates_version( let fs = Fs::Real; let gradle_properties = read_gradle_properties(fs, &args.gradle_properties_path).await?; let version_regex = - Regex::new(r"(?Psmithy\.rs\.runtime\.crate\.version=)(?P\d+\.\d+\.\d+-.*)") + Regex::new(r"(?Psmithy\.rs\.runtime\.crate\.version=)(?P\d+\.\d+\.\d+.*)") .unwrap(); let current_version = version_regex.captures(&gradle_properties).ok_or_else(|| { anyhow!(