assert_branch
assert_branch(assertion_type, m_dir)
¶
Make sure git is using the correct branch based on the workflow.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
assertion_type |
str
|
Either 'release' or 'hotfix'. |
required |
m_dir |
str
|
The directory for the m configuration. |
required |
Returns:
Type | Description |
---|---|
Res[Config]
|
A OneOf containing |