Skip to content

Commit

Permalink
Merge pull request #1954 from aeiouaeiouaeiouaeiouaeiouaeiou/txt-to-adoc
Browse files Browse the repository at this point in the history
Migrate release notes from txt to adoc format
  • Loading branch information
dscho authored Feb 24, 2025
2 parents 518d2b7 + 7b5cbaa commit 4be6590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/update-git-version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4be6590

Please sign in to comment.