From aa17dab42567aa99877ca0bb5704e861bf11597b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Wed, 10 Feb 2021 10:49:53 +0100 Subject: [PATCH] Pass GO_VERSION to install-go command (#23956) (cherry picked from commit 4fdad96f2b8c697249f1594057d87670f7712be3) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de409236663f..d6d428c7f085 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,8 @@ release-manager-snapshot: ## release-manager-release : Builds a snapshot release. The Go version defined in .go-version will be installed and used for the build. .PHONY: release-manager-release release-manager-release: - ./dev-tools/run_with_go_ver $(MAKE) release + GO_VERSION=$(shell cat ./.go-version) ./.ci/scripts/install-go.sh + $(MAKE) release ## beats-dashboards : Collects dashboards from all Beats and generates a zip file distribution. .PHONY: beats-dashboards