Skip to content

Commit

Permalink
fix: fix sed pattern of voltVersion in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
tyru committed Mar 31, 2018
1 parent f6eda39 commit 4b9d108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4b9d108

Please sign in to comment.