fix build metadata row selector

This commit is contained in:
Patrick Schratz 2024-07-31 12:54:37 +02:00
commit c87888beb5
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -97,7 +97,7 @@ build_binary_package <- function(package_name, tag = NULL, codename = NULL,
# if for some reason an underlying error didnt' get caught in the tryCatch calls, we check again here for the existence of the binary file on disk and mark the build as failed if it is not found
tarball_name <- sprintf("%s_%s.tar.gz", x, y)
if (file.exists(sprintf("%s/%s", local_bin_path, tarball_name))) {
if (fs::file_exists(sprintf("%s/%s", local_bin_path, tarball_name))) {
store_build_metadata(x, y, platform, error_occurred = FALSE, force = force)
cli::cli_alert_success("Successfully built package {.pkg {x}} with tag {.field {y}}.")
} else {