From 36bcd1da4fa8f5cd0a75e72e095f42e8e72fdbfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 30 Nov 2024 18:03:27 +0100 Subject: [PATCH] ci: Fix version detection --- data-raw/upgrade.R | 1 + 1 file changed, 1 insertion(+) diff --git a/data-raw/upgrade.R b/data-raw/upgrade.R index 983058f6c..b02b256ef 100644 --- a/data-raw/upgrade.R +++ b/data-raw/upgrade.R @@ -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)