From 76d55c2147acd355f9d3ca303f3f5cef72e52ac0 Mon Sep 17 00:00:00 2001 From: Daisuke Maki Date: Fri, 19 Aug 2016 18:43:19 +0900 Subject: [PATCH] Fix makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4714705..78d9863 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ INTERNAL_BIN_DIR=_internal_bin GOVERSION=$(shell go version) GOOS=$(word 1,$(subst /, ,$(lastword $(GOVERSION)))) GOARCH=$(word 2,$(subst /, ,$(lastword $(GOVERSION)))) -VERSION=$(patsubst "%",%,$(lastword $(shell grep version peco.go))) +VERSION=$(patsubst "%",%,$(lastword $(shell grep 'const version' peco.go))) RELEASE_DIR=releases ARTIFACTS_DIR=$(RELEASE_DIR)/artifacts/$(VERSION) SRC_FILES = $(wildcard *.go cmd/peco/*.go internal/*/*.go)