Skip to content

Commit d3218e7

Browse files
committed
update helm-doc binary version
1 parent 42c3be6 commit d3218e7

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

scripts/helm-docs.sh

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33

44
set -euf -o pipefail
55

6-
helmdocsv=1.7.0
6+
helmdocsv=1.14.2
77
bindir=$( cd "${0%/*}" && pwd ) # Change to script dir and set bin dir to this
88
targetbin=$( cd "$bindir"/.. && pwd )/target/bin
99
helmdocsbin=$targetbin/helm-docs-$helmdocsv
1010
os=""
1111
arch=""
1212

1313
if [ ! -f "$helmdocsbin" ]; then
14-
case $(uname | tr '[:upper:]' '[:lower:]') in
15-
darwin*)
16-
os=darwin
14+
case $(uname) in
15+
Darwin)
16+
os=Darwin
1717
arch=x86_64
1818
;;
19-
linux*)
20-
os=linux
19+
Linux)
20+
os=Linux
2121
case $(uname -m) in
2222
x86_64) arch=x86_64 ;;
23-
amd64) arch=amd64 ;;
23+
amd64) arch=x86_64 ;;
2424
arm)
2525
tmp=$(dpkg --print-architecture)
2626
if echo "$tmp" | grep -q arm64; then
@@ -31,10 +31,11 @@ if [ ! -f "$helmdocsbin" ]; then
3131
arch=armv6
3232
fi
3333
;;
34+
aarch64) arch=arm64 ;;
3435
esac
3536
;;
36-
msys*)
37-
os=windows
37+
MINGW*)
38+
os=Windows
3839
arch=x86_64
3940
;;
4041
esac

0 commit comments

Comments
 (0)