mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
fix naming of tmp assets
This commit is contained in:
2
tip.py
2
tip.py
@@ -116,7 +116,7 @@ else:
|
|||||||
aname = str(Path(artifact).name)
|
aname = str(Path(artifact).name)
|
||||||
if asset.name == aname:
|
if asset.name == aname:
|
||||||
print(" - uploading tmp...")
|
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...")
|
print(" - removing...")
|
||||||
asset.delete_asset()
|
asset.delete_asset()
|
||||||
print(" - renaming tmp...")
|
print(" - renaming tmp...")
|
||||||
|
|||||||
Reference in New Issue
Block a user