Implement new fn create_release()

This commit is contained in:
2025-05-28 20:27:52 -05:00
parent a212dc3ceb
commit 4250deb419
3 changed files with 31 additions and 6 deletions

View File

@@ -55,9 +55,8 @@ async fn main() -> Result<(), gt_tools::Error> {
tag_name,
target_commitish,
};
do_create_release(&client, &args.gitea_url, &args.repo, submission)
.await
.map_err(reqwest_to_gttool)?;
gt_tools::api::release::create_release(&client, &args.gitea_url, &args.repo, submission)
.await?;
}
gt_tools::cli::Commands::UploadRelease {
tag_name,