Skip to content

Commit

Permalink
GH release update: wait a bit between updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 19, 2024
1 parent 8fc70d2 commit 178003b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/gh-repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,11 @@ ghrepo <- local({
ghr$add_asset(slug, inst$built_path[i], ver),
error = function(err) {
cli::cli_alert_info("Try adding release asset again.")
Sys.sleep(5)
ghr$add_asset(slug, inst$built_path[i], ver)
}
)
Sys.sleep(1)
}
}

Expand Down

0 comments on commit 178003b

Please sign in to comment.