()
| 1201 | return "" |
| 1202 | |
| 1203 | |
| 1204 | def get_git_version_suffix(): |
| 1205 | if not is_git_repo(): |
| 1206 | return "" # Not a git checkout |
| 1207 | branch = get_git_branch() |
| 1208 | if branch.startswith("release"): |
| 1209 | return "" |
| 1210 | else: |
| 1211 | return get_git_commit_hash() |
| 1212 | |
| 1213 |
no test coverage detected