Update release-notes.R to bump version fields at release time#1944
Merged
Update release-notes.R to bump version fields at release time#1944
Conversation
Extends the release notes script to also update `version` in `_quarto.yml` (to the released version) and `_quarto-prerelease-docs.yml` (to the next prerelease). This automates the version bump that was previously a manual step, ensuring the `prerelease-docs-url` shortcode resolves blog post links correctly after merge to main.
Collaborator
Author
|
Companion PR: quarto-dev/quarto-cli#14169 (updates the release checklist) |
Contributor
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1944.quarto.org |
github-actions bot
pushed a commit
that referenced
this pull request
Mar 6, 2026
Extends the release notes script to also update `version` in `_quarto.yml` (to the released version) and `_quarto-prerelease-docs.yml` (to the next prerelease). This automates the version bump that was previously a manual step, ensuring the `prerelease-docs-url` shortcode resolves blog post links correctly after merge to main. (cherry picked from commit 4a9e378)
Contributor
|
Successfully created backport PR for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends
tools/release-notes.Rto automatically updateversionin both_quarto.ymland_quarto-prerelease-docs.ymlduring the release process.Context
PR #1939 added a
versionfield to these files for theprerelease-docs-urlshortcode, which compares the version argument to_quarto.ymlversionto decide whether blog links go to quarto.org or prerelease.quarto.org. For this to work on main,_quarto.ymlversionmust be bumped at release time.Since
release-notes.Rruns on the prerelease branch, the version bump propagates to main when prerelease is merged.What this does
At the end of the script, after updating the download listings:
_quarto.ymlversion→ released version (e.g.'1.9')_quarto-prerelease-docs.ymlversion→ next prerelease (e.g.'1.10')This replaces what was previously a manual step in the release checklist. A companion PR to quarto-cli updates the release checklist accordingly.