Skip to content

Commit

Permalink
fix(signingscript): Fix create_tarfile - create folder before creatin…
Browse files Browse the repository at this point in the history
…g tar (#985)
  • Loading branch information
hneiva authored Apr 29, 2024
1 parent 06e2958 commit 751cfe8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions signingscript/src/signingscript/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,8 @@ async def apple_notarize_stacked(context, filelist_dict):
task_index = relpath_index_map[relpath]
notarization_workdir = os.path.join(context.config["work_dir"], f"apple_notarize-{task_index}")
target_path = os.path.join(context.config["work_dir"], relpath)
if not os.path.exists(os.path.dirname(target_path)):
utils.mkdir(os.path.dirname(target_path))
_, extension = os.path.splitext(relpath)
# Pkgs don't need to be tarred
if extension == ".pkg":
Expand Down

0 comments on commit 751cfe8

Please sign in to comment.