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

Release maldipickr 1.1.1 #28

Closed
17 of 23 tasks
cpauvert opened this issue Sep 5, 2023 · 2 comments
Closed
17 of 23 tasks

Release maldipickr 1.1.1 #28

cpauvert opened this issue Sep 5, 2023 · 2 comments

Comments

@cpauvert
Copy link
Member

cpauvert commented Sep 5, 2023

First release:

Prepare for release:

  • git pull
  • urlchecker::url_check()
  • devtools::build_readme()
  • devtools::check(remote = TRUE, manual = TRUE)
  • devtools::check_win_devel()
  • git push
  • Draft blog post

Submit to CRAN:

  • usethis::use_version('major')
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted 🎉
  • Add preemptive link to blog post in pkgdown news menu
  • usethis::use_github_release()
  • usethis::use_dev_version(push = TRUE)
  • Finish blog post
  • Tweet
@cpauvert
Copy link
Member Author

cpauvert commented Sep 5, 2023

This is the official issue generated by

usethis::use_release_issue("1.0.0")

that I should have used before my manual attempt #16

@cpauvert cpauvert changed the title Release maldipickr 1.0.0 Release maldipickr 1.1.1 Sep 7, 2023
@cpauvert
Copy link
Member Author

cpauvert commented Sep 8, 2023

Note to self for next release:

  • Only release when accepted to Github

we wait until it’s certain that this version will actually be released on CRAN. Next we create a GitHub release corresponding to this CRAN release, using usethis::use_github_release()
https://r-pkgs.org/release.html#sec-release-post-acceptance

  • Do not track the CRAN-SUBMISSION file

Note that usethis::use_github_release() depends crucially on the CRAN-SUBMISSION file that was written by devtools::submit_cran(): that’s how it knows which SHA to tag. After the successful creation of the GitHub release, use_github_release() deletes this temporary file.
https://r-pkgs.org/release.html#sec-release-post-acceptance

@cpauvert cpauvert closed this as completed Sep 8, 2023
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

No branches or pull requests

1 participant