Skip to content

Commit

Permalink
Add CHANGELOG as vendored file
Browse files Browse the repository at this point in the history
See #1233
  • Loading branch information
olleolleolle committed Oct 9, 2023
1 parent 4a4256b commit fc8f493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tasks/vendor_files.rake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ RELATIVE_LINK_REGEX = %r{
def new_link(file, link)
if link.end_with?("CODE_OF_CONDUCT.md")
"conduct" # Special case we manually write
elsif link.end_with?("CHANGELOG.md")
"changelog" # Special case we manually write
elsif link.start_with?("mailto:") || link.start_with?("http")
link
else
Expand Down Expand Up @@ -65,5 +67,6 @@ task repo_pages: :update_vendor do
end

write_file("../CODE_OF_CONDUCT.md", File.expand_path("./conduct.html.md", source_dir))
write_file("../CHANGELOG.md", File.expand_path("./changelog.html.md", source_dir))
end
end

0 comments on commit fc8f493

Please sign in to comment.