diff --git a/DynamoDbEncryption/runtimes/rust/Cargo.toml b/DynamoDbEncryption/runtimes/rust/Cargo.toml index 23782f1c6..21e2acc33 100644 --- a/DynamoDbEncryption/runtimes/rust/Cargo.toml +++ b/DynamoDbEncryption/runtimes/rust/Cargo.toml @@ -17,7 +17,7 @@ readme = "README.md" [dependencies] aws-config = "1.8.12" aws-lc-rs = {version = "1.17.0"} -aws-lc-sys = { version = "0.41", optional = true } +aws-lc-sys = { version = "0.42", optional = true } aws-lc-fips-sys = { version = "0.13.1", optional = true } aws-sdk-dynamodb = "1.103.0" aws-sdk-kms = "1.98.0" diff --git a/DynamoDbEncryption/runtimes/rust/start_release.sh b/DynamoDbEncryption/runtimes/rust/start_release.sh index e41d2f364..b67b6f914 100755 --- a/DynamoDbEncryption/runtimes/rust/start_release.sh +++ b/DynamoDbEncryption/runtimes/rust/start_release.sh @@ -9,9 +9,11 @@ fi # Go to the directory of this script cd $( dirname ${BASH_SOURCE[0]} ) -# Check if the provided argument matches the version pattern -REGEX_VERSION='^\d+\.\d+\.\d+$' -MATCHES=$(echo "$1" | egrep $REGEX_VERSION | wc -l) +# Check if the provided argument matches the version pattern. +# Note: egrep uses POSIX ERE, which does not support PCRE escapes like \d. +# Use [0-9] instead so the regex actually matches N.N.N versions. +REGEX_VERSION='^[0-9]+\.[0-9]+\.[0-9]+$' +MATCHES=$(echo "$1" | egrep "$REGEX_VERSION" | wc -l) if [ $MATCHES -eq 0 ]; then echo 1>&2 "Version \"$1\" must be N.N.N" exit 1 diff --git a/project.properties b/project.properties index 892de3fdd..0882831f7 100644 --- a/project.properties +++ b/project.properties @@ -1,5 +1,5 @@ -projectJavaVersion=4.1.0 -mplDependencyJavaVersion=1.11.1 +projectJavaVersion=4.1.0-SNAPSHOT +mplDependencyJavaVersion=1.11.1-SNAPSHOT mplDependencyNetVersion=2.0.0-SNAPSHOT dafnyVersion=4.9.0 dafnyVerifyVersion=4.9.1