Skip to content

Commit e5a625c

Browse files
Wheeezcengique
authored andcommitted
Make GIT_REV safer for reuse in downstream packaging
1 parent fe61654 commit e5a625c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ endif
344344
# Add git version info
345345
USE_GIT=
346346
ifeq ($(wildcard .git),.git)
347-
GIT_REV=$(shell git describe --tag)
347+
GIT_REV=$(shell git describe --tag | sed -e 's/-/_/g')
348348
ifneq ($(GIT_REV),)
349349
VERSION:=$(GIT_REV)
350350
USE_GIT=1

0 commit comments

Comments
 (0)