diff --git a/BUILD_macos.md b/BUILD_macos.md index 259cb52b150..0ff5f4ce940 100644 --- a/BUILD_macos.md +++ b/BUILD_macos.md @@ -92,8 +92,7 @@ and updates are welcome! ```shell brew install helm - # The pinned helm-unittest version is tracked in build.assets/helm-unittest.version. - helm plugin install https://github.com/helm-unittest/helm-unittest --version v1.0.3 --verify=false + make helmunit/installed ``` 1. Install `bats`: diff --git a/Makefile b/Makefile index 96117b42fb1..334b9799653 100644 --- a/Makefile +++ b/Makefile @@ -980,16 +980,17 @@ helmunit/installed: required="$(HELM_UNITTEST_VERSION:v%=%)"; \ if [ -z "$$actual" ]; then \ printf '%s\n' \ - 'Helm unittest plugin is required to test Helm charts. Run:'; \ + 'Helm unittest plugin is required to test Helm charts.'; \ elif [ "$$(printf '%s\n' "$$actual" "$$required" | sort -V | head -n1)" != "$$required" ]; then \ printf '%s\n' \ "Helm unittest plugin $$actual is too old; version $(HELM_UNITTEST_VERSION) or newer is required." \ - 'Run:'; \ + ''; \ else \ exit 0; \ fi; \ printf '%s\n' \ 'helm-unittest does not provide the plugin signature required for Helm plugin signature verification, so we verify the release archive ourselves when installing:' \ + 'Run:' \ ' plugin_dir="$$(helm env HELM_PLUGINS)/helm-unittest"' \ ' rm -rf "$$plugin_dir"' \ ' mkdir -p "$$plugin_dir"' \