diff --git a/R/finalize-version.R b/R/finalize-version.R index 1b792898c..e766d1929 100644 --- a/R/finalize-version.R +++ b/R/finalize-version.R @@ -20,7 +20,7 @@ finalize_version_impl <- function(push, suggest_finalize = TRUE) { command <- "fledge::finalize_version()" } if (fledge_chatty()) { - cli_alert_warning("Call {.code {command}}.") + cli_alert_warning("Run {.run {command}}.") } send_to_console(command) } diff --git a/tests/testthat/_snaps/bump_version.md b/tests/testthat/_snaps/bump_version.md index f53908138..aa19172fa 100644 --- a/tests/testthat/_snaps/bump_version.md +++ b/tests/testthat/_snaps/bump_version.md @@ -19,7 +19,7 @@ -- Tagging Version -- > Creating tag v0.0.0.9001 with tag message derived from 'NEWS.md'. - ! Call `fledge::finalize_version(push = TRUE)`. + ! Run `fledge::finalize_version(push = TRUE)`. --- @@ -58,7 +58,7 @@ -- Tagging Version -- > Creating tag v0.0.0.9002 with tag message derived from 'NEWS.md'. - ! Call `fledge::finalize_version(push = TRUE)`. + ! Run `fledge::finalize_version(push = TRUE)`. # bump_version() works -- not dev diff --git a/tests/testthat/_snaps/demo/demo.md b/tests/testthat/_snaps/demo/demo.md index 13d455c5a..328b3664f 100644 --- a/tests/testthat/_snaps/demo/demo.md +++ b/tests/testthat/_snaps/demo/demo.md @@ -289,7 +289,7 @@ fledge::bump_version() ## -- Tagging Version -- ## ## > Creating tag v0.0.0.9001 with tag message derived from 'NEWS.md'. -## ! Call `fledge::finalize_version(push = TRUE)`. +## ! Run `fledge::finalize_version(push = TRUE)`. ``` The new version number is 0.0.0.9001. @@ -475,7 +475,7 @@ fledge::bump_version() ## -- Tagging Version -- ## ## > Creating tag v0.0.0.9002 with tag message derived from 'NEWS.md'. -## ! Call `fledge::finalize_version(push = TRUE)`. +## ! Run `fledge::finalize_version(push = TRUE)`. news <- readLines("NEWS.md") writeLines(news) ## @@ -633,7 +633,7 @@ fledge::bump_version() ## -- Tagging Version -- ## ## > Creating tag v0.0.1.9000 with tag message derived from 'NEWS.md'. -## ! Call `fledge::finalize_version(push = TRUE)`. +## ! Run `fledge::finalize_version(push = TRUE)`. news <- readLines("NEWS.md") ``` diff --git a/tests/testthat/_snaps/unbump_version.md b/tests/testthat/_snaps/unbump_version.md index 6b63040cf..0325e6a60 100644 --- a/tests/testthat/_snaps/unbump_version.md +++ b/tests/testthat/_snaps/unbump_version.md @@ -19,7 +19,7 @@ -- Tagging Version -- > Creating tag v0.0.0.9001 with tag message derived from 'NEWS.md'. - ! Call `fledge::finalize_version()`. + ! Run `fledge::finalize_version()`. Code unbump_version() Message @@ -58,5 +58,5 @@ -- Tagging Version -- > Creating tag v0.0.0.9001 with tag message derived from 'NEWS.md'. - ! Call `fledge::finalize_version()`. + ! Run `fledge::finalize_version()`.