Skip to content

🎧 Your Personal Streaming Service

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

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