emacs: fix changelog URL for mainline

- Point URL to savannah’s cgit, the canonical source.
- Select tag instead of release branch, which is more precise.

Compare the differences:
bad (branch, intermediate state pre-30.3):
https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.30.2

good (tag, precisely the state we are shipping):
https://cgit.git.savannah.gnu.org/cgit/emacs.git/plain/etc/NEWS?h=emacs-30.2
This commit is contained in:
pancho horrillo
2026-06-05 23:00:32 +02:00
parent 5cc8c77073
commit f796d89fa0
+1 -1
View File
@@ -74,7 +74,7 @@ let
'';
changelog =
{
"mainline" = "https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.${version}";
"mainline" = "https://cgit.git.savannah.gnu.org/cgit/emacs.git/plain/etc/NEWS?h=${rev}";
"macport" = "https://github.com/jdtsmith/emacs-mac/blob/${rev}/NEWS-mac";
}
.${variant};