Skip to content

Commit ecda7ba

Browse files
committed
Update listing
1 parent 5f5c21b commit ecda7ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/release-notes.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,18 @@ readLines(prerelease_page) |>
8181
str_replace(aliases[2], aliases[3]) |>
8282
writeLines(prerelease_page)
8383

84-
# MANUALLY update listing ------------------------------------------------
84+
# Update listing ------------------------------------------------
8585

8686
old_abbr <- str_split(major_version, "\\.")[[1]] |> paste0(collapse = "")
8787

8888
# Add new item to download-older listing in docs/download/index.qmd
8989

90-
cat("Please manually add a new item to the `download-older` listing in `docs/download/index.qmd`:\n")
9190
glue('
9291
- id: version{ old_abbr }
9392
title: { old_release }
94-
date: <RELEASE DATE>
93+
date: { format(as.Date(old_release_date), "%Y/%m/%d") }
9594
path: https://github.com/quarto-dev/quarto-cli/releases/tag/{ old_release }
9695
changelog: "[Release Notes](changelog/{ major_version }/)"
97-
')
96+
') |>
97+
cat(file = path(downloads, "_download-older.yml"), append = TRUE)
9898

0 commit comments

Comments
 (0)