From 9ae14015a118f3200a3b689614aead84a0f3a86c Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 6 Mar 2020 11:50:39 -0500 Subject: [PATCH] build: get Go and Node versions from go.mod and .nvmrc respectively --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d8673bdbe..824b2fe10 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -GO_VERSION=1.14 -NODE_VERSION=v13.10.1 +GO_VERSION=$(shell grep -e "^go " go.mod | cut -f 2 -d ' ') +NODE_VERSION=$(shell cat .nvmrc) GIT_SHA=$(shell git rev-parse --short HEAD)