Skip to content

Conversation

@cwickham
Copy link
Collaborator

@cwickham cwickham commented Oct 16, 2024

Adds a script to automate the steps of adding release notes for the old release.

Closes quarto-dev/quarto-cli#10277

In addition, we'd need to change this step in the release checklist:

https://github.com/quarto-dev/quarto-cli/blob/a2026c8b7c775665472b73f30b84d8da7a94c178/dev-docs/checklist-make-a-new-quarto-release.md?plain=1#L24

to:

  - run `quarto run tools/release-notes.R`

@cwickham
Copy link
Collaborator Author

@cderv Could you take a look at this and see what you think?

I plan to have the version numbers be provided as command line inputs. I couldn't think of a better way than taking three inputs old_release, new_release_major, and new_prerelease_major, so I'm open to ideas.

@cderv
Copy link
Collaborator

cderv commented Oct 17, 2024

That looks good !

Few ideas that I am throwing here:

I believe with this, you can have a full automated script for this update. Only manual step would be to check git diff and commit.

What do you think ?

@cwickham
Copy link
Collaborator Author

@cderv Ah yeah, the listing idea is good! I'll implement that. Actually, docs/download/_download-older.yml exists, we just weren't using it!

If we wait until after _download.json and _prerelease.json are generated to run this script (which we do according to the checklist), I can use them for the new release version, and new prerelease version. I might need to look into their history to get the old release version.

@cwickham
Copy link
Collaborator Author

@cderv OK, I think I've fully automated now. Do you want to take another look?

@cwickham cwickham marked this pull request as ready for review October 21, 2024 20:52
@cwickham cwickham merged commit 937b2cd into main Oct 23, 2024
2 of 3 checks passed
@cwickham cwickham deleted the issue/10277 branch October 23, 2024 20:52
@github-actions
Copy link
Contributor

Successfully created backport PR for prerelease:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate adding release notes with a script

3 participants