We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa500e9 commit f204c4fCopy full SHA for f204c4f
tools/docker/Makefile
@@ -150,7 +150,7 @@ OR_TOOLS_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
150
OR_TOOLS_SHA1 := $(shell git rev-parse --verify HEAD)
151
# OR_TOOLS_MAJOR & OR_TOOLS_MINOR
152
include ../../Version.txt
153
-OR_TOOLS_PATCH := $(shell git rev-list --count v${OR_TOOLS_MAJOR}.0..HEAD)
+OR_TOOLS_PATCH := $(shell git rev-list --count v${OR_TOOLS_MAJOR}.0..HEAD || echo 0)
154
OR_TOOLS_VERSION := ${OR_TOOLS_MAJOR}.${OR_TOOLS_MINOR}.${OR_TOOLS_PATCH}
155
ifdef PRE_RELEASE
156
OR_TOOLS_VERSION := ${OR_TOOLS_VERSION}-rc
0 commit comments