stubber.publish.bump ==================== .. py:module:: stubber.publish.bump .. autoapi-nested-parse:: Bump a version number to a next version Functions --------- .. autoapisummary:: stubber.publish.bump.bump_version Module Contents --------------- .. py:function:: bump_version(current: packaging.version.Version, *, major_bump: bool = False, minor_bump: bool = False, micro_bump: bool = False, version_bump: bool = False, post_bump: bool = False, rc: int = 0) -> packaging.version.Version Increases a 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/