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 734a28c commit 7412dc7Copy full SHA for 7412dc7
Makefile
@@ -2,7 +2,8 @@ REGISTRY := wcr.io/oracle
2
PKG := github.com/oracle/oci-cloud-controller-manager
3
BIN := oci-cloud-controller-manager
4
IMAGE := $(REGISTRY)/$(BIN)
5
-VERSION := $(shell git describe --always --dirty)
+VERSION := $(shell git describe --exact-match 2> /dev/null || \
6
+ git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
7
8
GOOS ?= linux
9
ARCH ?= amd64
0 commit comments