Skip to content

Commit

Permalink
tools/helper --package: ensure out/log directory exists
Browse files Browse the repository at this point in the history
This to avoid the following error:

```
subprocess.CalledProcessError: Command 'zipinfo -1 ./*.vsix > out/log/package.log' returned non-zero exit status 1.
```
  • Loading branch information
goneri committed Nov 14, 2024
1 parent 71e5579 commit 8fa0084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/helper
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def cli() -> None:
f" --readme-path docs/README.md {pre_release_arg} {version}"
)
# Using zipinfo instead of `npx vsce ls` due to https://github.com/microsoft/vscode-vsce/issues/517
run("mkdir -p out/log")
run("zipinfo -1 ./*.vsix > out/log/package.log")
run("tools/dirty.sh")
print(f"Generated ansible-{version}")
Expand Down

0 comments on commit 8fa0084

Please sign in to comment.