Skip to content

Commit 04ee1b9

Browse files
committed
Version string now includes date of commit
1 parent b6716e1 commit 04ee1b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefiles/Rules.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ pkg/path: set_version
287287
# Sets a VERSION variable based on the git sha.
288288
#
289289
set_version:
290-
$(eval VERSION = $(strip $(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq))))
290+
$(eval VERSION = $(strip $(subst ',,0.3a-$(shell git show -s --format=%cd --date=format:%Y%m%d HEAD)-git-$(shell git rev-parse --short HEAD))))
291291
$(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\")
292292
293293
#

0 commit comments

Comments
 (0)