File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 33
44set -euf -o pipefail
55
6- helmdocsv=1.7.0
6+ helmdocsv=1.14.2
77bindir=$( cd " ${0%/* } " && pwd ) # Change to script dir and set bin dir to this
88targetbin=$( cd " $bindir " /.. && pwd ) /target/bin
99helmdocsbin=$targetbin /helm-docs-$helmdocsv
1010os=" "
1111arch=" "
1212
1313if [ ! -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
You can’t perform that action at this time.
0 commit comments