File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 18
18
KREW_ROOT=" $( mktemp -d) " KREW_OS=linux \
19
19
$krew install --manifest=out/krew.yaml --archive=out/krew.tar.gz && \
20
20
KREW_ROOT=" $( mktemp -d) " KREW_OS=windows \
21
- $krew install --manifest=out/krew.yaml --archive=out/krew.zip
21
+ $krew install --manifest=out/krew.yaml --archive=out/krew.tar.gz
22
22
```
23
23
24
24
# ## Release a new version
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ metadata:
18
18
name : krew
19
19
spec :
20
20
version : " KREW_TAG"
21
+ homepage : https://sigs.k8s.io/krew
21
22
shortDescription : Package manager for kubectl plugins.
22
23
caveats : |
23
24
krew is now installed! To start using kubectl plugins, you need to add
30
31
31
32
* Windows: Add %USERPROFILE%\.krew\bin to your PATH environment variable
32
33
33
- Run "kubectl krew" to list krew commands and get help.
34
- You can find documentation at https://github.com/kubernetes-sigs/krew.
34
+ To list krew commands and to get help, run:
35
+ $ kubectl krew
36
+ For a full list of available plugins, run:
37
+ $ kubectl krew search
38
+
39
+ You can find documentation at https://sigs.k8s.io/krew.
35
40
36
41
platforms :
37
42
- uri : https://github.com/kubernetes-sigs/krew/releases/download/KREW_TAG/krew.tar.gz
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ git_rev="${SHORT_SHA:-$(git rev-parse --short HEAD)}"
37
37
git_tag=" ${TAG_NAME:- $(git describe --tags --dirty --always)} "
38
38
echo >&2 " (Stamping with git tag=${git_tag} rev=${git_rev} )"
39
39
40
- env CGO_ENABLED=0 gox -osarch=" ${OSARCH:- $supported_platforms } " \
40
+ env GO111MODULE=on CGO_ENABLED=0 gox -osarch=" ${OSARCH:- $supported_platforms } " \
41
41
-tags netgo \
42
42
-mod readonly \
43
43
-ldflags=" -w -X ${version_pkg} .gitCommit=${git_rev} \
You can’t perform that action at this time.
0 commit comments