Skip to content

Commit 2ce0a9e

Browse files
authored
Always create the zip folder to upload (#62368)
1 parent 0540772 commit 2ce0a9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/coreclr/scripts/superpmi_asmdiffs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ def main(main_args):
228228
shutil.copy2(overall_md_summary_file, overall_md_summary_file_target)
229229
except PermissionError as pe_error:
230230
print('Ignoring PermissionError: {0}'.format(pe_error))
231-
232-
copy_dasm_files(spmi_location, log_directory, "{}_{}".format(platform_name, arch_name))
233231
else:
234232
# Write a basic summary file. Ideally, we should not generate a summary.md file. However, currently I'm seeing
235233
# errors where the Helix work item fails to upload this specified file if it doesn't exist. We should change the
@@ -239,6 +237,9 @@ def main(main_args):
239237
No diffs found
240238
""")
241239

240+
# Finally prepare files to upload from helix.
241+
copy_dasm_files(spmi_location, log_directory, "{}_{}".format(platform_name, arch_name))
242+
242243
if return_code != 0:
243244
print("Failure in {}".format(log_file))
244245
return 1

0 commit comments

Comments
 (0)