Skip to content
Snippets Groups Projects
Commit e1ca4d5d authored by Rohith's avatar Rohith
Browse files

- fixing the Makefile to use the release variable

parent 5b3da585
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ROOT_DIR=${PWD} ...@@ -9,7 +9,7 @@ ROOT_DIR=${PWD}
HARDWARE=$(shell uname -m) HARDWARE=$(shell uname -m)
GIT_SHA=$(shell git --no-pager describe --always --dirty) GIT_SHA=$(shell git --no-pager describe --always --dirty)
BUILD_TIME=$(shell date -u '+%Y-%m-%d_%I:%M:%S%p') 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}}' ./...) DEPS=$(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
PACKAGES=$(shell go list ./...) PACKAGES=$(shell go list ./...)
LFLAGS ?= -X main.gitsha=${GIT_SHA} LFLAGS ?= -X main.gitsha=${GIT_SHA}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment