diff --git a/ci/platform-tools-info.sh b/ci/platform-tools-info.sh index d8ee41cb5fbb00..0f0e7c8e0db43c 100755 --- a/ci/platform-tools-info.sh +++ b/ci/platform-tools-info.sh @@ -11,7 +11,7 @@ SBF_TOOLS_VERSION=unknown cargo_build_sbf_main="${here}/../sdk/cargo-build-sbf/src/main.rs" if [[ -f "${cargo_build_sbf_main}" ]]; then - version=$(sed -e 's/^.*platform_tools_version\s*=\s*String::from("\(v[0-9.]\+\)").*/\1/;t;d' "${cargo_build_sbf_main}") + version=$(sed -e 's/^.*DEFAULT_PLATFORM_TOOLS_VERSION.*=\s*"\(v[0-9.]\+\)".*/\1/;t;d' "${cargo_build_sbf_main}") if [[ ${version} != '' ]]; then SBF_TOOLS_VERSION="${version}" else