Skip to content

Commit

Permalink
mongodl: use starts-with pattern when matching version strings
Browse files Browse the repository at this point in the history
  • Loading branch information
eramongodb committed Oct 24, 2024
1 parent 2f3d55b commit 8e1699f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .evergreen/mongodl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e1699f

Please sign in to comment.