Skip to content

Commit

Permalink
Adding version independence for makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrancell committed Oct 17, 2021
1 parent 1da7059 commit cbec51c
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,6 +1,6 @@
TEST?=$$(go list ./... | grep -v vendor)
BINARY=kubenv
VERSION=1.0.0
VERSION=$$(grep version main.go | head -n1| cut -d\" -f2)
OS_ARCH=linux_amd64
GOBIN=${GOPATH}/bin

Expand Down

0 comments on commit cbec51c

Please sign in to comment.