From aba8578f86e2d9a200d37b3a75ed6b0eb64df9a0 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sat, 27 May 2023 07:07:00 +0900 Subject: [PATCH] fix: fix CompareURL --- pkg/controller/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/main.go b/pkg/controller/main.go index 5dbe757..8055b39 100644 --- a/pkg/controller/main.go +++ b/pkg/controller/main.go @@ -243,7 +243,7 @@ func (ctrl *Controller) handlePackage(ctx context.Context, logE *logrus.Entry, p RepoName: repoName, NewVersion: newVersion, CurrentVersion: currentVersion, - CompareURL: fmt.Sprintf(`[compare](https://github.com/%s/%s/compare/%s...%s)`, repoOwner, repoName, currentVersion, newVersion), + CompareURL: fmt.Sprintf(`https://github.com/%s/%s/compare/%s...%s`, repoOwner, repoName, currentVersion, newVersion), ReleaseURL: fmt.Sprintf(`https://github.com/%s/%s/releases/tag/%s`, repoOwner, repoName, newVersion), }