kivymd.tools.release.git_commands

API - kivymd.tools.release.git_commands

kivymd.tools.release.git_commands.command(cmd: list, capture_output: bool = False) str

Run system command.

kivymd.tools.release.git_commands.get_previous_version() str

Returns latest tag in git.

kivymd.tools.release.git_commands.git_clean(ask: bool = True)

Clean git repository from untracked and changed files.

kivymd.tools.release.git_commands.git_commit(message: str, allow_error: bool = False, add_files: list = None)

Make commit.

kivymd.tools.release.git_commands.git_tag(name: str)

Create tag.

kivymd.tools.release.git_commands.git_push(branches_to_push: list, ask: bool = True, push: bool = False)

Push all changes.