diff --git a/Makefile b/Makefile index 3131763..1eadd99 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ NAME = apiary INSTALL_PREFIX ?= /usr/local -VERSION = $(shell cat version.go |grep "Version"| cut -d "=" -f2| tr -d "\" ") +VERSION = $(shell cat version.go |grep "var Version"| cut -d "=" -f2| tr -d "\" ") ARCH = $(shell go env | grep GOHOSTARCH | cut -d"=" -f2 | tr -d "\"") OS = $(shell go env | grep GOHOSTOS | cut -d"=" -f2 | tr -d "\"") GIT_COMMIT := $(shell git rev-parse --short HEAD)