This commit is contained in:
Patrick Schratz 2024-07-24 19:58:55 +02:00
commit 135c5ca696
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -42,7 +42,7 @@ store_build_metadata <- function(
} else if (nrow(existing_entries) >= 1 && force) {
cli::cli_alert_info("{.fun store_build_metadata}: Force overwriting build metadata for {.field {package_name}} {.field {tag}} because {.code force = TRUE} was set.")
dbExecute(con, sprintf("UPDATE single_builds SET build_timestamp = %s WHERE package_name = %s and tag = %s", format(Sys.time(), "%Y-%m-%d %H:%M:%S"), package_name, tag))
dbExecute(con, sprintf("UPDATE single_builds SET build_timestamp = '%s' WHERE package_name = '%s' and tag = '%s'", format(Sys.time(), "%Y-%m-%d %H:%M:%S"), package_name, tag))
}
# Close the SQLite connection