Skip to content

Commit 62a1d05

Browse files
committedJan 8, 2025··
Fix a error during build due to missing tag
Errors were showing as: ``` [build] fatal: No tags can describe '819e272338e84e77e193c51601365a33374238bd'. ```
1 parent 819e272 commit 62a1d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ BUILD_DATE ?= $(shell date -u "$(DATE_FMT)")
3939

4040
# By default the version is the latest tag in the current branch,
4141
# if there is none, then the commit hash
42-
VERSION := $(shell git describe --tag)
42+
VERSION := $(shell git describe --tag --always)
4343
ifeq ($(VERSION),)
4444
VERSION := $(shell git rev-parse --short --verify HEAD)
4545
endif

0 commit comments

Comments
 (0)
Please sign in to comment.