| Conditions | 3 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 3.072 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | 1 | def build_version(base, branch): |
|
| 2 | 1 | version = '.'.join([str(x) for x in base]) |
|
| 3 | |||
| 4 | 1 | if branch == 'master': |
|
| 5 | return version |
||
| 6 | |||
| 7 | return version + '-' + branch |
||
| 8 |