From acab1b48235e2f4b36515aef88c11fa5d67c2f21 Mon Sep 17 00:00:00 2001 From: Kazuki HASEGAWA Date: Sun, 3 Jan 2021 06:22:19 +0900 Subject: [PATCH] tidyup variables in makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9ce78df..ba40c75 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ export UID export GID VERSION ?= 0.0.7 -LDFLAGS ?= "-X github.com/corrupt952/tmuxist/version.Version=${VERSION}" +LDFLAGS ?= "-X github.com/corrupt952/tmuxist/version.Version=$(VERSION)" all: build @@ -43,7 +43,7 @@ ci_build: ci_package: ci_build cd pkg \ - && find * -type d | xargs -I{} tar -zcvf tmuxist_${VERSION}_{}.tar.gz {}/tmuxist \ + && find * -type d | xargs -I{} tar -zcvf tmuxist_$(VERSION)_{}.tar.gz {}/tmuxist \ && find * -type d | xargs -I{} rm -rf {} ci_release: