summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2021-01-25 15:26:54 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-26 12:05:43 +0000
commit528562109ae37edde02ebd5fc4c94edafc45caeb (patch)
treebc89c96e308415e79428c953e2911008c8c2c220
parent5e60917bdc7152e31976d40da925e03ea0e3de8e (diff)
SERVER-53933 Update compile expansions shared cache script for releasesr4.9.0-alpha3
-rwxr-xr-xbuildscripts/generate_compile_expansions_shared_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/generate_compile_expansions_shared_cache.py b/buildscripts/generate_compile_expansions_shared_cache.py
index 2c6436d1bec..e2aa879b596 100755
--- a/buildscripts/generate_compile_expansions_shared_cache.py
+++ b/buildscripts/generate_compile_expansions_shared_cache.py
@@ -138,7 +138,7 @@ def match_verstr(verstr):
r2.3.4-git234, r2.3.4-rc0-234-githash If the version is invalid (i.e.
doesn't start with "2.3.4" or "2.3.4-rc0", this will return False.
"""
- res = re.match(r'^r?(?:\d+\.\d+\.\d+(?:-rc\d+)?)(-.*)?', verstr)
+ res = re.match(r'^r?(?:\d+\.\d+\.\d+(?:-rc\d+|-alpha\d+)?)(-.*)?', verstr)
if not res:
return False
return res.groups()