Skip to content

Commit ebcc09e

Browse files
author
Vaughn Dice
committed
feat(Makefile): base client's VERSION on expected pattern
1 parent f4f35d8 commit ebcc09e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GO_PACKAGES_REPO_PATH = $(addprefix $(repo_path)/,$(GO_PACKAGES))
1515
GOFMT = gofmt -e -l -s
1616
GOTEST = go test --cover --race -v
1717

18-
VERSION := $(shell git describe --tags --abbrev=0 2>/dev/null)+$(shell git rev-parse --short HEAD)
18+
VERSION ?= $(shell git rev-parse --short HEAD)
1919

2020
define check-static-binary
2121
if file $(1) | egrep -q "(statically linked|Mach-O)"; then \

0 commit comments

Comments
 (0)