make: filter git describe to only match release tags

Add --match 'v*' to the VERSION_TAG git describe command to exclude
non-version tags like perms/*, litrpc/*, and autopilotserverrpc/*. These
tags contain forward slashes which cause the release script to fail when
constructing output filenames.
This commit is contained in:
Jared Tobin 2026-01-23 11:05:34 +04:00
parent c64b47eec6
commit d16c0837bc
No known key found for this signature in database
GPG key ID: 0E4647D58F8A69E4

View file

@ -1,7 +1,7 @@
include make/compile_flags.mk
# Create a globally-consistent, build-input identifier.
VERSION_TAG = $(shell git describe --abbrev=40 --broken --tags --always)
VERSION_TAG = $(shell git describe --abbrev=40 --broken --tags --always --match 'v*')
VERSION_CHECK = @$(call print, "Building master with date version tag")
DOCKER_RELEASE_HELPER = docker run \