From 8e1699f078fc345ee9424780e9aa77fc581b6f02 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Thu, 24 Oct 2024 14:09:06 -0500 Subject: [PATCH] mongodl: use starts-with pattern when matching version strings --- .evergreen/mongodl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.evergreen/mongodl.py b/.evergreen/mongodl.py index e5f1c6a0..19768381 100755 --- a/.evergreen/mongodl.py +++ b/.evergreen/mongodl.py @@ -507,11 +507,12 @@ def iter_available( THEN mdb_version_rapid(version) WHEN :version IS NULL THEN 1 - ELSE version=:version + ELSE version=:version OR version LIKE :version_pattern END) ORDER BY version COLLATE mdb_version DESC ''', version=version, + version_pattern=f'{version}.%', target=target, arch=arch, edition=edition,