feat(cli): show release PR url in log messages

Makes navigating to the PR way easier when looking at the logs.

This requires a new `Forge.PullRequestURL()` method that needs to be
implemented for all forges.
This commit is contained in:
Julian Tölle 2024-09-06 23:24:02 +02:00
parent 2effe5e72d
commit e993d4ae8c
3 changed files with 7 additions and 2 deletions

View file

@ -13,6 +13,7 @@ type Forge interface {
RepoURL() string
CloneURL() string
ReleaseURL(version string) string
PullRequestURL(id int) string
GitAuth() transport.AuthMethod