project_release.tui.select_branch_name
- project_release.tui.select_branch_name(branch_description: str, config_branches: List[str], repo_branches: List[str], user_branch: str | None, default_branch: str | None) str[source]
Select the branch name to use.
- Parameters:
branch_description – The description of the branch.
config_branches – The branch names available in configuration.
repo_branches – The branch names available in the repository.
user_branch – The user-specified branch name.
default_branch – The default branch name.
- Returns:
The selected branch name.
- Return type:
- Raises:
SystemExit – If the specified branch is invalid.