Skip to content

Commit d80b131

Browse files
authored
Don't prompt to update CRAN-comments on first release (#1344)
(Since you shouldn't need to)
1 parent 716b703 commit d80b131

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

R/release.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ release_checklist <- function(version, on_cran) {
8888
todo("`rhub::check_with_sanitizers()`", has_src),
8989
todo("`revdepcheck::revdep_check(num_workers = 4)`", on_cran),
9090

91-
todo("Update `cran-comments.md`"),
91+
if (on_cran) todo("Update `cran-comments.md`"),
9292
todo("Review pkgdown reference index for, e.g., missing topics", has_pkgdown && type != "patch"),
9393
todo("Draft blog post", type != "patch"),
9494
if (has_extra) paste0("* [ ] ", get("release_bullets", parent.env(globalenv()))()),

tests/testthat/_snaps/release.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* [ ] `devtools::check(remote = TRUE, manual = TRUE)`
1919
* [ ] `devtools::check_win_devel()`
2020
* [ ] `rhub::check_for_cran()`
21-
* [ ] Update `cran-comments.md`
2221
* [ ] Draft blog post
2322
2423
Submit to CRAN:

0 commit comments

Comments
 (0)