mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
Rules.inc: Fixed git revision parsing
This commit is contained in:
parent
8c8cc3d32b
commit
d42f7d6563
|
@ -229,7 +229,7 @@ release:: print_message
|
||||||
release:: clean
|
release:: clean
|
||||||
release:: all
|
release:: all
|
||||||
set_version:
|
set_version:
|
||||||
$(eval VERSION = $(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq)))
|
$(eval VERSION = $(strip$(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq))))
|
||||||
$(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\")
|
$(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\")
|
||||||
print_message:
|
print_message:
|
||||||
$(info Building Supermodel Version $(VERSION))
|
$(info Building Supermodel Version $(VERSION))
|
||||||
|
|
Loading…
Reference in a new issue