We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef2c5ed commit 1b19daaCopy full SHA for 1b19daa
1 file changed
cmd/vsphere-xcopy-volume-populator/Makefile
@@ -4,7 +4,7 @@ SHELL = /usr/bin/env bash -o pipefail
4
.SHELLFLAGS = -ec
5
6
# The build version which relies on release engineering setting tags that starts with 'v' like v2.10.4
7
-VERSION := $(shell git describe --always --tags --match 'v*' || echo "0.0.0-dev")
+VERSION := $(shell git describe --always --tags --match 'v*' 2>/dev/null || echo "v0.0.0-dev")
8
SCRIPT_VERSION := $(shell sh vmkfstools-wrapper/vmkfstools_wrapper.sh --version --output simple)
9
10
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
0 commit comments