From 4b9d1087d1a3a7b57c4978849198ad84087d1529 Mon Sep 17 00:00:00 2001 From: tyru Date: Sun, 1 Apr 2018 07:08:09 +0900 Subject: [PATCH] fix: fix sed pattern of voltVersion in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb57ca6d..0cd1811e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME := volt SRC := $(shell find . -type d -name 'vendor' -prune -o -type f -name '*.go' -print) -VERSION := $(shell sed -n -E 's/var voltVersion string = "([^"]+)"/\1/p' cmd/version.go) +VERSION := $(shell sed -n -E 's/var voltVersion = "([^"]+)"/\1/p' cmd/version.go) RELEASE_LDFLAGS := -s -w -extldflags '-static' RELEASE_OS := linux windows darwin RELEASE_ARCH := amd64 386