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 e856075 commit 2606b8fCopy full SHA for 2606b8f
Apple/__main__.py
@@ -447,7 +447,11 @@ def package_version(prefix_path: Path) -> str:
447
version = match[1]
448
# If not building against a tagged commit, add a timestamp to the
449
# version. Follow the PyPA version number rules, as this will make
450
- # it easier to process with other tools.
+ # it easier to process with other tools. The version will have a
451
+ # `+` suffix once any official release has been made; a freshly
452
+ # forked main branch will have a version of 3.X.0a0.
453
+ if version.endswith("a0"):
454
+ version += "+"
455
if version.endswith("+"):
456
version += datetime.now(timezone.utc).strftime("%Y%m%d.%H%M%S")
457
0 commit comments