Skip to content

Commit

Permalink
Fixes (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwickham authored Nov 25, 2024
1 parent 132cb57 commit fa302dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release-notes.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ new_prerelease_major <- extract_major(new_prerelease)
major_version <- extract_major(old_release)

cat("Release:", old_release, "->", new_release, "\n")
cat("Prerelease:", major_version, "->", new_prerelease_major, "\n")
cat("Prerelease:", new_release_major, "->", new_prerelease_major, "\n")

# Create new changelog content -------------------------------------------

Expand Down Expand Up @@ -90,7 +90,7 @@ old_abbr <- str_split(major_version, "\\.")[[1]] |> paste0(collapse = "")
glue('
\n- id: version{ old_abbr }
title: { old_release }
date: { format(as.Date(old_release_date), "%Y/%m/%d") }
date: { format(as.Date(old_release_date), "%Y-%m-%d") }
path: https://github.com/quarto-dev/quarto-cli/releases/tag/v{ old_release }
changelog: "[Release Notes](changelog/{ major_version }/)"
') |>
Expand Down

0 comments on commit fa302dd

Please sign in to comment.