diff --git a/hugo.yml b/hugo.yml index 9e15b09e21..a384be3185 100644 --- a/hugo.yml +++ b/hugo.yml @@ -34,7 +34,7 @@ params: hugo_version: 0.139.4 pagefind_version: 1.1.1 latest_version: 2.48.1 - latest_relnote_url: https://raw.github.com/git/git/master/Documentation/RelNotes/2.48.1.txt + latest_relnote_url: https://raw.github.com/git/git/master/Documentation/RelNotes/2.48.1.adoc latest_release_date: '2025-01-13' macos_installer: url: https://sourceforge.net/projects/git-osx-installer/files/git-2.33.0-intel-universal-mavericks.dmg/download?use_mirror=autoselect diff --git a/script/update-git-version.rb b/script/update-git-version.rb index a71748ecf2..4aa8e3e302 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://raw.github.com/git/git/master/Documentation/RelNotes/#{version}.txt" +config["params"]["latest_relnote_url"] = "https://raw.github.com/git/git/master/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