Skip to content

Commit 9e52f92

Browse files
LukeMathWalkeraws-sdk-rust-ci
authored andcommitted
Fix version regex. (#2364)
1 parent c94c604 commit 9e52f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci-build/publisher/src/subcommand/upgrade_runtime_crates_version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub async fn subcommand_upgrade_runtime_crates_version(
2828
let fs = Fs::Real;
2929
let gradle_properties = read_gradle_properties(fs, &args.gradle_properties_path).await?;
3030
let version_regex =
31-
Regex::new(r"(?P<field>smithy\.rs\.runtime\.crate\.version=)(?P<version>\d+\.\d+\.\d+-.*)")
31+
Regex::new(r"(?P<field>smithy\.rs\.runtime\.crate\.version=)(?P<version>\d+\.\d+\.\d+.*)")
3232
.unwrap();
3333
let current_version = version_regex.captures(&gradle_properties).ok_or_else(|| {
3434
anyhow!(

0 commit comments

Comments
 (0)