File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ VDE_INSTALL ?= /opt/finch
28
28
ARCH ?= $(shell uname -m)
29
29
SUPPORTED_ARCH = false
30
30
LICENSEDIR := $(OUTDIR ) /license-files
31
- VERSION ?= $(shell git describe --match 'v[0-9]* ' --dirty='.modified' --always --tags)
31
+ VERSION ?= $(shell git describe --match 'v[0-9]* ' --dirty='.modified' --abbrev=0 --always --tags)
32
32
GITCOMMIT ?= $(shell git rev-parse HEAD)$(shell test -z "$(git status --porcelain ) " || echo .m)
33
33
VERSION_INJECTION := -X $(PACKAGE ) /pkg/version.Version=$(VERSION )
34
34
VERSION_INJECTION += -X $(PACKAGE ) /pkg/version.GitCommit=$(GITCOMMIT )
58
58
59
59
# This variable is used to inject the version of Lima (via ldflags) to be used with Lima's
60
60
# osutil.LimaUser function.
61
- LIMA_TAG =$(shell cd deps/finch-core/src/lima && git describe --match 'v[0-9]* ' --dirty='.modified' --always --tags)
61
+ LIMA_TAG =$(shell cd deps/finch-core/src/lima && git describe --match 'v[0-9]* ' --dirty='.modified' --abbrev=0 --always --tags)
62
62
LIMA_VERSION := $(patsubst v% ,% ,$(LIMA_TAG ) )
63
63
# This value isn't used on Linux, but the symbol is currently defined on all platforms, so
64
64
# it doesn't hurt to always inject it right now.
You can’t perform that action at this time.
0 commit comments