Skip to content

Commit c2a3e9c

Browse files
committed
Update create_release_tag.py
1 parent 65c8c94 commit c2a3e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create_release_tag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ def main():
357357
filename, wheel_url = get_file_info_by_sha(sha)
358358
tag_name, release_title, version = generate_tag_and_title(filename)
359359
release_id, release_body, asset_id = get_release_info(tag_name)
360-
update_release_body(release_id, commit_sha, release_body)
361-
update_release_asset(wheel_url, asset_id)
360+
update_release_body(release_id, commit_sha, release_body) if release_id else None
361+
update_release_asset(wheel_url, asset_id) if asset_id else None
362362

363363
print(f"Found {len(filenames)} files to process")
364364
# Process each filename

0 commit comments

Comments
 (0)