Skip to content

Commit 381f14b

Browse files
Auto push to PyPi on edit
1 parent be41e1c commit 381f14b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup_scm_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def post_version(version):
77
if version.exact:
88
return version.format_with("{tag}").lstrip('v')
99

10-
base = str(version.tag).lstrip('v') if version.tag else (guess_next_version(version) or "1.0.0")
10+
base = str(version.tag).lstrip('v') if version.tag else (guess_next_version(version) or "1.0")
1111
distance = version.distance or 0
1212

1313
return f"{base}.{distance}" if distance > 0 else base

0 commit comments

Comments
 (0)