Fix makefile for updated version stuff
This commit is contained in:
parent
f4afd8df62
commit
a2ffbad4a3
2
Makefile
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user