Skip to content

Commit 2c40304

Browse files
only check after tagging
1 parent bb54ae4 commit 2c40304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/release.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ release_gh <- function(bump = "dev", is_cran = bump != "dev") {
5858
if (!is_cran) {
5959

6060
}
61-
sys_call("./inst/hooks/local/consistent-release-tag.R", "--release-mode")
6261
cli::cli_alert_success("Tagged last commit with release version.")
6362
if (!is_cran) {
6463
git_tag_release(last_release, new_version)
64+
sys_call("./inst/hooks/local/consistent-release-tag.R", "--release-mode")
6565
}
6666

6767
sys_call("git", glue::glue("push"),

0 commit comments

Comments
 (0)