diff --git a/do b/do index 2fdfd34..73af645 100755 --- a/do +++ b/do @@ -55,11 +55,18 @@ unit-tests() { # shellcheck disable=SC2034 help_helm_docs="Run helm-docs" helm-docs() { - if ! [ -x "$(command -v helm-docs)" ]; then - docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest - else - helm-docs - fi + case "$(uname -s)" in + Linux*) ./tooling/helm-docs-linux-x86;; + Darwin*) ./tooling/helm-docs-darwin-arm64;; + esac + + while getopts 'a' OPTION; do + case $OPTION in + a) + git add README.md + ;; + esac + done } # This variable is used, but shellcheck can't tell. diff --git a/renovate.json5 b/renovate.json5 index 5db72dd..d6854bf 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -3,4 +3,7 @@ "extends": [ "config:recommended" ] + "commands" : [ + "./do helm-docs -a" + ] } diff --git a/tooling/helm-docs-darwin-arm64 b/tooling/helm-docs-darwin-arm64 new file mode 100755 index 0000000..5d79b5a Binary files /dev/null and b/tooling/helm-docs-darwin-arm64 differ diff --git a/tooling/helm-docs-linux-x86 b/tooling/helm-docs-linux-x86 new file mode 100755 index 0000000..50befbb Binary files /dev/null and b/tooling/helm-docs-linux-x86 differ