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.
1 parent cd3cb68 commit ed5192bCopy full SHA for ed5192b
setup.py
@@ -27,7 +27,8 @@ def get_latest_semver_tag():
27
tags = subprocess.check_output(["git", "tag"], text=True).splitlines()
28
semver_tags = [tag for tag in tags if tag.count(".") == 2 and all(part.isdigit() for part in tag.split("."))]
29
if not semver_tags:
30
- raise ValueError("No valid semantic version tags found")
+ print("No valid semantic version tags found, use 0.0.1 defaulty")
31
+ semver_tags = ["0.0.1"]
32
return sorted(semver_tags, key=lambda s: list(map(int, s.split("."))))[-1]
33
34
0 commit comments