We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19f132 commit 2911a9eCopy full SHA for 2911a9e
Makefile
@@ -7,7 +7,7 @@ COVERAGE=coverage.out
7
8
MCLI_SOURCE_FILES?=./cmd/mongocli
9
MCLI_BINARY_NAME=mongocli
10
-MCLI_VERSION?=$(shell git describe --always --tags)
+MCLI_VERSION?=$(shell git describe --always --tags | cut -d "v" -f 2)
11
MCLI_GIT_SHA?=$(shell git rev-parse HEAD)
12
MCLI_DESTINATION=./bin/$(MCLI_BINARY_NAME)
13
MCLI_INSTALL_PATH="${GOPATH}/bin/$(MCLI_BINARY_NAME)"
0 commit comments