diff --git a/Makefile b/Makefile
index 1c5da46dd17d49b6df5593213feed8b7b82e14c4..7439f642e8c909191926820b8ac158721f6a586b 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ ROOT_DIR=${PWD}
 HARDWARE=$(shell uname -m)
 GIT_SHA=$(shell git --no-pager describe --always --dirty)
 BUILD_TIME=$(shell date -u '+%Y-%m-%d_%I:%M:%S%p')
-VERSION ?= $(shell awk '/version.*=/ { print $$3 }' doc.go | sed 's/"//g')
+VERSION ?= $(shell awk '/release.*=/ { print $$3 }' doc.go | sed 's/"//g')
 DEPS=$(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
 PACKAGES=$(shell go list ./...)
 LFLAGS ?= -X main.gitsha=${GIT_SHA}