bump
The bump CLI subcommand implementation.
Functions:¶
bump
¶
bump(args: list, config_file: Optional[str], verbose: int, allow_dirty: Optional[bool], current_version: Optional[str], new_version: Optional[str], parse: Optional[str], serialize: Optional[List[str]], search: Optional[str], replace: Optional[str], regex: Optional[bool], no_configured_files: bool, ignore_missing_files: bool, ignore_missing_version: bool, dry_run: bool, commit: Optional[bool], tag: Optional[bool], sign_tags: Optional[bool], tag_name: Optional[str], tag_message: Optional[str], message: Optional[str], commit_args: Optional[str]) -> None
Change the version.
ARGS may contain any of the following:
VERSION_PART is the part of the version to increase, e.g. minor.
Valid values include those given in the --serialize / --parse option.
FILES are additional file(s) to modify.
If you want to rewrite only files specified on the command line, use with the
--no-configured-files option.