Skip to content

Commit

Permalink
Add release question to update codemeta.json
Browse files Browse the repository at this point in the history
Fixes #1774
Fixes #1754
  • Loading branch information
jimhester committed Jul 18, 2018
1 parent 4b0adeb commit 7a69ae2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# devtools 1.13.3.9000

* `release()` gains an additional question ensuring you updated codemeta.json
if one exists (#1774, #1754)

* `github_pat()` and `gitlab_pat()` no longer print diagnostic messages by
default (#1752).

Expand Down
1 change: 1 addition & 0 deletions R/release.r
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ release <- function(pkg = ".", check = FALSE, args = NULL) {
"Have you updated `DESCRIPTION`?",
"Have you updated `cran-comments.md?`",
if (dir.exists("docs/")) "Have you updated website in `docs/`?",
if (file.exists("codemeta.json")) "Have you updated codemeta.json with codemetar::write_codemeta()?",
find_release_questions()
)
for (question in questions) {
Expand Down

0 comments on commit 7a69ae2

Please sign in to comment.