From 0608dbe418b77b3fea24ce417091252b7b739e27 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Mon, 11 Oct 2021 12:28:48 -0700 Subject: [PATCH] Print tarball sizes before upload --- src/build_img/common.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build_img/common.jl b/src/build_img/common.jl index ae12095..d4549ea 100644 --- a/src/build_img/common.jl +++ b/src/build_img/common.jl @@ -168,7 +168,7 @@ function upload_rootfs_image(tarball_path::String; num_retries::Int = 3) # Upload it to `github_repo` tarball_url = "https://github.com/$(github_repo)/releases/download/$(tag_name)/$(basename(tarball_path))" - @info("Uploading to $(github_repo)@$(tag_name)", tarball_url) + @info("Uploading to $(github_repo)@$(tag_name)", tarball_url, size=filesize(tarball_path)) cmd = ghr_jll.ghr() append!(cmd.exec, ["-u", dirname(github_repo), "-r", basename(github_repo)]) append!(cmd.exec, [tag_name, tarball_path])