Skip to content
Snippets Groups Projects
Verified Commit e78d6cdc authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: no post version if main version changed

parent 70057c3e
No related branches found
No related tags found
No related merge requests found
Pipeline #421962 failed
......@@ -51,6 +51,8 @@ if util_version != latest_previous_util_version and str(largest_ver) == latest_p
post_version = 1
else:
post_version = int(post_version) + 1
if str(largest_ver) != latest_previous_api_version:
post_version = None
setup(
version=f'{str(largest_ver)}{".post" + str(post_version) if post_version is not None else ""}{".dev1" if os.environ.get("CI_COMMIT_BRANCH", "local") == "devel" else ""}+{util_version}',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment