Skip to content

Commit c15b6ec

Browse files
committed
Makefile: Use short hash as version information.
Signed-off-by: lbuque <1102390310@qq.com>
1 parent fd5a0da commit c15b6ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

m5stack/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ ifdef LVGL
139139
LVGL_FLAG = 1
140140
endif
141141

142-
GIT_VERSION := $(shell git describe --abbrev=7 --always)
142+
GIT_VERSION := $(shell git rev-parse --short HEAD)
143143

144144
include ./include/files.mk
145145

third-party/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ifdef LVGL
8585
LVGL_FLAG = 1
8686
endif
8787

88-
GIT_VERSION := $(shell git describe --abbrev=7 --always)
88+
GIT_VERSION := $(shell git rev-parse --short HEAD)
8989

9090
include ../m5stack/include/files.mk
9191

0 commit comments

Comments
 (0)