From 326d17ab99a79a9abb5a82163b1338efdfdeccd4 Mon Sep 17 00:00:00 2001 From: ytshen Date: Fri, 12 Apr 2024 23:22:16 +0800 Subject: [PATCH] fix1 --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 8b7632c..b33014a 100644 --- a/main.py +++ b/main.py @@ -248,13 +248,13 @@ if __name__ == '__main__': previous_info_urls=args.previous_info_urls) if args.create_release and (release_id := create_release(args.github_repository, github_token=args.github_token)): + delete_release(args.github_repository, github_token=args.github_token) + delete_tag(args.github_repository, github_token=args.github_token) upload_json_to_release(args.github_repository, release_id, upload_file_name='addon_infos.json', upload_file=args.output, github_token=args.github_token) - delete_release(args.github_repository, github_token=args.github_token) - delete_tag(args.github_repository, github_token=args.github_token) update_cache(args.cache_directory, args.runtime_xpi_directory, args.cache_lockfile)