build: get Go and Node versions from go.mod and .nvmrc respectively

This commit is contained in:
Deluan 2020-03-06 11:50:39 -05:00
parent 0b131e91c1
commit 9ae14015a1
1 changed files with 2 additions and 2 deletions

View File

@ -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)