We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0572bbe + fcdfdc7 commit aa572d8Copy full SHA for aa572d8
main.py
@@ -56,7 +56,7 @@ def main(java_driver_git, scylla_install_dir, tests, versions, driver_type,scyll
56
def extract_n_latest_repo_tags(repo_directory: str, major_versions: List[str], latest_tags_size: int = 2,
57
is_scylla_driver: bool = True) -> List[str]:
58
major_versions = sorted(major_versions, key=lambda major_ver: float(major_ver))
59
- filter_version = f"| grep {'' if is_scylla_driver else '-v '}'.*\..*\..*\.'"
+ filter_version = "| grep -P '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'" if is_scylla_driver else "| grep -P '^[0-9]+\.[0-9]+\.[0-9]+$'"
60
commands = [f"cd {repo_directory}", "git checkout .", ]
61
if not os.environ.get("DEV_MODE", False):
62
commands.append("git fetch -p --all")
0 commit comments