From 178003b02f8902551fbe005704c0a7d6eaa579ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Tue, 19 Mar 2024 15:11:20 +0100 Subject: [PATCH] GH release update: wait a bit between updates --- R/gh-repo.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/gh-repo.R b/R/gh-repo.R index 27204f88..a725df1e 100644 --- a/R/gh-repo.R +++ b/R/gh-repo.R @@ -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) } }