Skip to content

Commit

Permalink
Look for releae questions in correct environment
Browse files Browse the repository at this point in the history
Fixes #1434
  • Loading branch information
hadley committed Aug 2, 2017
1 parent b2f9d59 commit b05576d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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()` once again looks for additional release questions in the
correct environment (#1434).

* `submit_cran()` now checks that you're ready to submit, since this is a
potentially expensive operation (#1228)

Expand Down
2 changes: 1 addition & 1 deletion R/release.r
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ release <- function(pkg = ".", check = TRUE, args = NULL, spelling = "en_US") {
if (yesno("Is DESCRIPTION up-to-date?"))
return(invisible())

release_questions <- pkgload::pkg_env(pkg)$release_questions
release_questions <- pkgload::ns_env(pkg)$release_questions
if (!is.null(release_questions)) {
questions <- release_questions()
for (question in questions) {
Expand Down

0 comments on commit b05576d

Please # to comment.