We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b408208 commit 69bcbfeCopy full SHA for 69bcbfe
Makefile
@@ -17,9 +17,9 @@ COVERAGE_DIR := .coverage
17
CGO_ENABLED := 0
18
19
# Version information (from git tags and commit)
20
-VERSION := $(shell git describe --tags --always --dirty 2>NUL || echo dev)
21
-COMMIT := $(shell git rev-parse --short HEAD 2>NUL || echo unknown)
22
-BUILD_TIME := $(shell git log -1 --format=%cI 2>NUL || echo unknown)
+VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo dev)
+COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
+BUILD_TIME := $(shell git log -1 --format=%cI 2>/dev/null || echo unknown)
23
24
# Optimization flags for smallest possible binary
25
GCFLAGS := -gcflags="all=-l"
0 commit comments