Skip to content

Commit

Permalink
Merge pull request #32578 from vespa-engine/arnej/avoid-lsp-version-tags
Browse files Browse the repository at this point in the history
only use tags starting with "v" MERGEOK
  • Loading branch information
Harald Musum authored Oct 11, 2024
2 parents 47158fe + eff39ac commit d9380f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# The version to release. Defaults to the current tag or revision.
# Use env VERSION=X.Y.Z make ... to override
VERSION ?= $(shell git describe --tags --exact-match 2> /dev/null | sed "s/^v//")
VERSION ?= $(shell git describe --tags --match "v*" 2> /dev/null | sed "s/^v\([0-9]*[.][0-9]*[.][0-9]*\).*/\1/")
DEVEL_VERSION := $(shell echo "0.0.0-`git rev-parse --short HEAD 2> /dev/null || echo unknown`")
ifeq ($(VERSION),)
VERSION = $(DEVEL_VERSION)
Expand Down

0 comments on commit d9380f0

Please sign in to comment.