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)