From 10028b7e34baa00295e7da8da683c29be205a9af Mon Sep 17 00:00:00 2001 From: Gaurav Cherwal Date: Fri, 5 Dec 2025 12:45:46 -0800 Subject: [PATCH] Docs: Link to rendered GitHub AsciiDoc for release notes --- hugo.yml | 2 +- layouts/shortcodes/install-header.html | 2 +- script/update-git-version.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hugo.yml b/hugo.yml index 54263e4344..9eb9c0aaf5 100644 --- a/hugo.yml +++ b/hugo.yml @@ -38,7 +38,7 @@ params: hugo_version: 0.148.2 pagefind_version: 1.4.0 latest_version: 2.52.0 - latest_relnote_url: https://github.com/git/git/raw/HEAD/Documentation/RelNotes/2.52.0.adoc + latest_relnote_url: https://gitlab.com/git-scm/git/-/blob/v2.52.0/Documentation/RelNotes/2.52.0.adoc latest_release_date: '2025-11-17' windows_installer: installer_x64: diff --git a/layouts/shortcodes/install-header.html b/layouts/shortcodes/install-header.html index 1b9d3f62fb..b859506bbe 100644 --- a/layouts/shortcodes/install-header.html +++ b/layouts/shortcodes/install-header.html @@ -4,7 +4,7 @@

Install

Latest version: {{ site.Params.latest_version }} - (Release Notes) + (Release Notes)
diff --git a/script/update-git-version.rb b/script/update-git-version.rb index 1721c54671..a299ca8c61 100644 --- a/script/update-git-version.rb +++ b/script/update-git-version.rb @@ -20,7 +20,7 @@ config = YAML.load_file("hugo.yml") config["params"] = {} if config["params"].nil? config["params"]["latest_version"] = version -config["params"]["latest_relnote_url"] = "https://github.com/git/git/raw/HEAD/Documentation/RelNotes/#{version}.adoc" +config["params"]["latest_relnote_url"] = "https://gitlab.com/git-scm/git/-/blob/v2.52.0/Documentation/RelNotes/#{version}.adoc" config["params"]["latest_release_date"] = date.strftime("%Y-%m-%d") yaml = YAML.dump(config).gsub(/ *$/, "") -File.write("hugo.yml", yaml) \ No newline at end of file +File.write("hugo.yml", yaml)