From 6b537c8992cae999a97ca4764908cfd7f548d2ae Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Thu, 29 May 2025 17:42:31 -0500 Subject: [PATCH] Hook in new create_release_attachment to main --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0048942..a44e2c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,13 +72,13 @@ async fn main() -> Result<(), gt_tools::Error> { } // TODO: Pre-create the release, if it doesn't exist. // TODO: Find an existing release and use it's ID, if it does - do_upload_release( + gt_tools::api::release_attachment::create_release_attachment( &client, &args.gitea_url, &args.repo, 52usize, files - ).await.map_err(reqwest_to_gttool)?; + ).await?; } }