diff options
-rwxr-xr-x | buildscripts/generate_compile_expansions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/generate_compile_expansions.py b/buildscripts/generate_compile_expansions.py index 4df93a2e9cd..653f01502cb 100755 --- a/buildscripts/generate_compile_expansions.py +++ b/buildscripts/generate_compile_expansions.py @@ -109,7 +109,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() |