Skip to content

Commit

Permalink
Use tagged temp dirs to simplify cleanup (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweig committed Feb 12, 2020
1 parent e5901f2 commit fb5343a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/RELEASING_KREW.md
Expand Up @@ -13,11 +13,11 @@
```sh
krew=out/bin/krew-darwin_amd64 # assuming macOS

KREW_ROOT="$(mktemp -d)" KREW_OS=darwin \
KREW_ROOT="$(mktemp -d --tmpdir krew-XXXXXXXXXX)" KREW_OS=darwin \
$krew install --manifest=out/krew.yaml --archive=out/krew.tar.gz && \
KREW_ROOT="$(mktemp -d)" KREW_OS=linux \
KREW_ROOT="$(mktemp -d --tmpdir krew-XXXXXXXXXX)" KREW_OS=linux \
$krew install --manifest=out/krew.yaml --archive=out/krew.tar.gz && \
KREW_ROOT="$(mktemp -d)" KREW_OS=windows \
KREW_ROOT="$(mktemp -d --tmpdir krew-XXXXXXXXXX)" KREW_OS=windows \
$krew install --manifest=out/krew.yaml --archive=out/krew.tar.gz
```

Expand Down

0 comments on commit fb5343a

Please sign in to comment.