[7.x] Handle qualified version snapshots with make.sh

Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
This commit is contained in:
Seth Michael Larson
2020-11-23 17:33:00 -06:00
committed by GitHub
parent 00a4f1edab
commit 3d14e4ff27
+1 -1
View File
@@ -193,7 +193,7 @@ def main():
version = version + pre_number.group(1) + pre_number.group(2)
expect_version = re.sub(
r"-(?:SNAPSHOT|alpha\d+|beta\d+|rc\d+)$", "", expect_version
r"(?:-(?:SNAPSHOT|alpha\d+|beta\d+|rc\d+))+$", "", expect_version
)
if expect_version.endswith(".x"):
expect_version = expect_version[:-1]