Skip to content

Commit

Permalink
fix-update skip check skip pkgdown skip covr
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 authored Jan 17, 2022
1 parent 050cbf5 commit 6929e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update/ep_update.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ upload_ep_data <- function(folder_path, version){
update_ep <- function(season, version = "v1.0.0"){
try(piggyback::pb_new_release(repo = "ffverse/ffexpectedpoints", tag = "latest-data"))
try(piggyback::pb_new_release(repo = "ffverse/ffexpectedpoints", tag = glue::glue("{version}-data")))
folder_path <- tempdir()
on.exit(unlink(folder_path, recursive = TRUE, force = TRUE))
purrr::walk(season, save_ep_data, folder_path = folder_path, version = version)
dir.create("temp")
on.exit(unlink("temp",recursive = TRUE, force = TRUE))
purrr::walk(season, save_ep_data, folder_path = "temp", version = version)
upload_ep_data(folder_path, version)
invisible(NULL)
}
Expand Down

0 comments on commit 6929e2a

Please sign in to comment.