Skip to content

Commit 4be6590

Browse files
authored
Merge pull request #1954 from aeiouaeiouaeiouaeiouaeiouaeiou/txt-to-adoc
Migrate release notes from txt to adoc format
2 parents 518d2b7 + 7b5cbaa commit 4be6590

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hugo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ params:
3434
hugo_version: 0.139.4
3535
pagefind_version: 1.1.1
3636
latest_version: 2.48.1
37-
latest_relnote_url: https://raw.github.com/git/git/master/Documentation/RelNotes/2.48.1.txt
37+
latest_relnote_url: https://raw.github.com/git/git/master/Documentation/RelNotes/2.48.1.adoc
3838
latest_release_date: '2025-01-13'
3939
macos_installer:
4040
url: https://sourceforge.net/projects/git-osx-installer/files/git-2.33.0-intel-universal-mavericks.dmg/download?use_mirror=autoselect

script/update-git-version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
config = YAML.load_file("hugo.yml")
2121
config["params"] = {} if config["params"].nil?
2222
config["params"]["latest_version"] = version
23-
config["params"]["latest_relnote_url"] = "https://raw.github.com/git/git/master/Documentation/RelNotes/#{version}.txt"
23+
config["params"]["latest_relnote_url"] = "https://raw.github.com/git/git/master/Documentation/RelNotes/#{version}.adoc"
2424
config["params"]["latest_release_date"] = date.strftime("%Y-%m-%d")
2525
yaml = YAML.dump(config).gsub(/ *$/, "")
2626
File.write("hugo.yml", yaml)

0 commit comments

Comments
 (0)