Skip to content

Commit

Permalink
fix: Use correct version for checking GH release
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 5, 2024
1 parent 9a827af commit 525360b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/auto.R
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ get_last_release_version <- function(fledgling = NULL) {
fledgling <- read_fledgling()
}

is_release <- grep("^[0-9]+[.][0-9]+[.][0-9]+(?:[.-][0-9]{1,3})?$", fledgling$version)
is_release <- grep("^[0-9]+[.][0-9]+[.][0-9]+(?:[.-][0-9]{1,3})?$", fledgling$news$version)

if (length(is_release) == 0) {
return(NULL)
Expand Down

0 comments on commit 525360b

Please sign in to comment.