Skip to content

Commit

Permalink
tidyup variables in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
corrupt952 committed Jan 2, 2021
1 parent dc84d8f commit acab1b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit acab1b4

Please sign in to comment.