We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4900541 commit 6bb0ba0Copy full SHA for 6bb0ba0
Makefile
@@ -8,7 +8,7 @@ MODULE = $(shell env GO111MODULE=on $(GO) list -m)
8
DATE ?= $(shell date +%FT%T%z)
9
VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> /dev/null || \
10
cat $(CURDIR)/.version 2> /dev/null || echo v0)
11
-LATEST_RELEASE ?= $(shell git describe --tags --match=v* --abbrev=0 | grep -o "[0-9]\.[0-9]\.[0-9]")
+LATEST_RELEASE ?= $(shell git describe --tags --match=v* --abbrev=0 | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
12
PKGS = $(or $(PKG),$(shell env GO111MODULE=on $(GO) list ./...))
13
TESTPKGS = $(shell env GO111MODULE=on $(GO) list -f \
14
'{{ if or .TestGoFiles .XTestGoFiles }}{{ .ImportPath }}{{ end }}' \
0 commit comments