We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6716e1 commit 04ee1b9Copy full SHA for 04ee1b9
1 file changed
Makefiles/Rules.inc
@@ -287,7 +287,7 @@ pkg/path: set_version
287
# Sets a VERSION variable based on the git sha.
288
#
289
set_version:
290
- $(eval VERSION = $(strip $(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq))))
+ $(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))))
291
$(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\")
292
293
0 commit comments