Fix Makefile
This commit is contained in:
parent
ecc7f9bdc0
commit
329d93a759
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ NAME = apiary
|
||||
|
||||
INSTALL_PREFIX ?= /usr/local
|
||||
|
||||
VERSION = $(shell cat version.go |grep "var Version"| cut -d "=" -f2| tr -d "\" ")
|
||||
VERSION = $(shell cat version.go |grep "Version"| head -n 1 |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