Skip to content

Commit

Permalink
fix kubectl --version not showing version correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMertz committed May 13, 2017
1 parent ed49658 commit b8f947d
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
Expand Up @@ -5,7 +5,7 @@ MAJOR=`echo $(TAG) | awk -F[v.] '{print $$2}'`
MINOR=`echo $(TAG) | awk -F[v.] '{print $$3}'`
PATCH=`echo $(TAG) | awk -F[v.] '{print $$4}'`
GIT_COMMIT=`git rev-parse --short @`
LDFLAGS=-X github.com/blendle/kubecrt/config.version=$(VERSION) -X github.com/blendle/kubecrt/config.gitrev=$(GIT_COMMIT)
LDFLAGS=-X github.com/blendle/kubecrt/config.version=$(TAG) -X github.com/blendle/kubecrt/config.gitrev=$(GIT_COMMIT)

build:
mkdir -p bin
Expand Down

0 comments on commit b8f947d

Please sign in to comment.