(self)
| 240 | return self.step.Git("tag").strip().splitlines() |
| 241 | |
| 242 | def GetBranches(self): |
| 243 | # Get relevant remote branches, e.g. "branch-heads/3.25". |
| 244 | branches = filter( |
| 245 | lambda s: re.match(r"^branch\-heads/\d+\.\d+$", s), |
| 246 | self.step.GitRemotes()) |
| 247 | # Remove 'branch-heads/' prefix. |
| 248 | return [b[13:] for b in branches] |
| 249 | |
| 250 | def MainBranch(self): |
| 251 | return "main" |
nothing calls this directly
no test coverage detected