Skip to content

Commit

Permalink
Fixed missing version
Browse files Browse the repository at this point in the history
  • Loading branch information
darxkies committed Dec 17, 2017
1 parent 2cd34d1 commit 3263520
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,4 +1,4 @@
VERSION=$(shell git describe --tags)

compile:
CGO_ENABLED=0 go build -ldflags '-X github.com/darxkies/k8s-tew/version.Version=${VERSION}' -ldflags '-s -w' -o ${GOPATH}/bin/k8s-tew github.com/darxkies/k8s-tew/cmd/k8s-tew
CGO_ENABLED=0 go build -ldflags '-X github.com/darxkies/k8s-tew/version.Version=${VERSION} -s -w' -o ${GOPATH}/bin/k8s-tew github.com/darxkies/k8s-tew/cmd/k8s-tew

0 comments on commit 3263520

Please sign in to comment.