stubber.publish.bump
¶
Bump a version number to a next version
Module Contents¶
Functions¶
|
Increases a version number |
- stubber.publish.bump.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