Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate release and version updates #143

Open
RayStick opened this issue Nov 26, 2024 · 4 comments
Open

Automate release and version updates #143

RayStick opened this issue Nov 26, 2024 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed internal Changes related to GH workflows, actions, apps

Comments

@RayStick
Copy link
Member

RayStick commented Nov 26, 2024

When a new release is made, various things need to happen. The version number within these files need to be edited before/alongside the new release:

  • CITATION.cff
  • README.md
  • codemeta.json
  • inst/CITATION
  • DESCRIPTION

The Zenodo should sort itself out.

A regular thing that happens is that I forget to update all of these files on a new release, and the release number is not updated within these files.

We may need more GitHub Actions to automate this workflow. For example:

@RayStick RayStick self-assigned this Nov 26, 2024
@RayStick RayStick added documentation Improvements or additions to documentation internal Changes related to GH workflows, actions, apps help wanted Extra attention is needed labels Nov 26, 2024
@maelle
Copy link
Collaborator

maelle commented Dec 16, 2024

Beside automating, one approach I like is

@RayStick
Copy link
Member Author

Thanks for this, I like this idea (checklist approach via issue)

I would like to change the template but I am a bit confused about how I make my own custom items - the documentation is a bit sparse

Do I create a function in my package called R/release_bullets.R? Does this only add not remove?

Thanks for any tips you can provide!

@maelle
Copy link
Collaborator

maelle commented Dec 16, 2024

Yes you add an internal function, it only adds, doesn't remove, but you can't control in which section the bullets appear.

Example: https://github.com/EMODnet/emodnet.wfs/blob/70e5657774eab8488894efac32386ac356ae3a4c/R/emodnet.wfs-package.R#L46

Other examples: https://github.com/search?q=release_bullets+user%3Acran&type=code&ref=advsearch

Related issue r-lib/usethis#1818

@maelle
Copy link
Collaborator

maelle commented Dec 16, 2024

You can add the internal function, then run usethis::use_release_issue(), then close/delete the issue to see how it looks like.

@RayStick RayStick added this to the rOpenSci Review Process milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed internal Changes related to GH workflows, actions, apps
Projects
None yet
Development

No branches or pull requests

2 participants