diff --git a/Makefile b/Makefile index c68d64c1c84..24b8e604e5a 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,7 @@ 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: - ./.ci/scripts/install-go.sh + 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.