Skip to content

Commit

Permalink
fix packaging nested directories
Browse files Browse the repository at this point in the history
  • Loading branch information
hazelnutcloud committed Feb 16, 2023
1 parent 41faa54 commit e27c40f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
1. Make sure you have [deno installed](https://deno.land/manual/getting_started/installation)
2. Run directly from URL
```bash
deno run -A https://deno.land/x/[email protected].5/cli.ts --help
deno run -A https://deno.land/x/[email protected].6/cli.ts --help
```
3. Install locally
```bash
Expand Down
2 changes: 1 addition & 1 deletion commands/deploy/pkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const pkg = async (dir: string) => {
const out = join(tempPath, fileName);

const process = Deno.run({
cmd: ["tar", "-zcvf", out, dir],
cmd: ["tar", "-zcvf", out, "-C", dir, "."],
stdout: "piped",
stderr: "piped",
});
Expand Down

0 comments on commit e27c40f

Please sign in to comment.