Skip to content

Commit

Permalink
ci: Fix version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Nov 30, 2024
1 parent afc56b2 commit 36bcd1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data-raw/upgrade.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ register_misc_extension("uuid")
if (any(grepl("^src/", gert::git_status()$file))) {
gert::git_add("src")

version <- sub("^.*-([0-9])([0-9][0-9])(?:0([0-9])|([1-9][0-9]))[0-9]+[.].*$", "\\1.\\2.\\3\\4", latest_name)
commit_msg <- paste0("feat: Upgrade bundled SQLite to ", version)
message("Commit message: ", commit_msg)
gert::git_commit(commit_msg)
Expand Down

0 comments on commit 36bcd1d

Please sign in to comment.