(version string)
| 200 | } |
| 201 | |
| 202 | func normalizeDisplayVersion(version string) string { |
| 203 | version = strings.TrimSpace(version) |
| 204 | if version == "" { |
| 205 | return "" |
| 206 | } |
| 207 | return "v" + strings.TrimPrefix(version, "v") |
| 208 | } |
| 209 | |
| 210 | // runUpgradeForTargetRepo checks out repo to a temporary directory, runs the |
| 211 | // upgrade command inside it, and opens a pull request with the resulting changes. |
no outgoing calls