]> source.dussan.org Git - gitea.git/commitdiff
Fix missing link on outgoing new release notifications (#29079) (#29300)
authorwxiaoguang <wxiaoguang@gmail.com>
Wed, 21 Feb 2024 19:01:48 +0000 (03:01 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 19:01:48 +0000 (19:01 +0000)
Backport #29079

Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
Co-authored-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
services/mailer/mail_release.go

index 983e55a4361f2a1916b12f648c1b558e4c7b350a..e17801be2af5fe7e08606d698c36131f1bad303a 100644 (file)
@@ -74,6 +74,7 @@ func mailNewRelease(ctx context.Context, lang string, tos []string, rel *repo_mo
                "Release":  rel,
                "Subject":  subject,
                "Language": locale.Language(),
+               "Link":     rel.HTMLURL(),
        }
 
        var mailBody bytes.Buffer