Skip to content
Permalink
Browse files

Use tagged temp dirs to simplify cleanup (#504)

  • Loading branch information
corneliusweig committed Feb 12, 2020
1 parent e5901f2 commit fb5343a7101fe3f7742ef90d70f007f5de70f6d9
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/RELEASING_KREW.md
@@ -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
```

0 comments on commit fb5343a

Please sign in to comment.
You can’t perform that action at this time.