fix naming of tmp assets

This commit is contained in:
eine
2020-07-26 18:01:24 +02:00
parent fe58d3aba3
commit 4faf2667a2

2
tip.py
View File

@@ -116,7 +116,7 @@ else:
aname = str(Path(artifact).name)
if asset.name == aname:
print(" - uploading tmp...")
new_asset = gh_release.upload_asset(artifact, name='%s.tmp' % aname)
new_asset = gh_release.upload_asset(artifact, name='tmp.%s' % aname)
print(" - removing...")
asset.delete_asset()
print(" - renaming tmp...")