Skip to content

Commit

Permalink
fix asset delete order
Browse files Browse the repository at this point in the history
  • Loading branch information
petong committed Mar 28, 2019
1 parent 78361cb commit fe7a980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/post_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def upload_database_version(id):
shafile.write(shasums)
if release_info and release_info['draft'] is True:
release_id = release_info['id']
upload_release_asset(release_id, shasums, shasums_file)
delete_asset_if_exists(release_info, shasums_file)
upload_release_asset(release_id, shasums, shasums_file)

upload_database_version(release_id)

0 comments on commit fe7a980

Please sign in to comment.