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
Branches
Tags v1.1.0
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment