stubber.publish.bump
¶
Module Contents¶
Functions¶
|
Increases the post release version number |
- stubber.publish.bump.bump_postrelease(current: packaging.version.Version, rc: int = 0) packaging.version.Version ¶
Increases the post release version number
This allows for a new stub-release to be published while still using the Major.Minor.Patch version numbers of Micropython if rc = 0(default) : bump post release
format: x.y.z.post1, x.y.z.post2 …
- if rec specified:
drop the post release and set the release candidate number
ref: https://peps.python.org/pep-0440/
- Parameters
current (packaging.version.Version) –
rc (int) –
- Return type
packaging.version.Version