We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58bf78d commit 3b09736Copy full SHA for 3b09736
cmd/cli/Makefile
@@ -14,7 +14,7 @@ all: build
14
15
build:
16
@echo "Building $(BINARY_NAME)..."
17
- go build -ldflags="-s -w -X github.com/docker/model-runner/cmd/cli/desktop.Version=$(shell git describe --tags --always --dirty --match "cmd/cli*" | sed 's|^cmd/cli/||')" -o $(BINARY_NAME) .
+ go build -ldflags="-s -w -X github.com/docker/model-runner/cmd/cli/desktop.Version=$(shell git describe --tags --always --dirty --match 'v*')" -o $(BINARY_NAME) .
18
19
link:
20
@if [ ! -f $(BINARY_NAME) ]; then \
0 commit comments