(self, with_all=True, with_tags=True)
| 105 | stderr=subprocess.DEVNULL).decode().strip() |
| 106 | |
| 107 | def _run_git_fetch(self, with_all=True, with_tags=True): |
| 108 | return self._run_git_command(["fetch", |
| 109 | "--all" if with_all else "", |
| 110 | "--tags" if with_tags else ""]) |
| 111 | |
| 112 | def _run_git_get_latest_tag(self): |
| 113 | return self._run_git_command(["describe", "--tags", self._run_git_get_last_tag_hash()]) |
no test coverage detected