Supply GLUON_VERSION variable
This commit is contained in:
parent
ce2dfc463d
commit
ebf0d12828
@ -23,6 +23,9 @@ $(GLUON_SITEDIR)/site.mk:
|
|||||||
-include $(GLUON_SITEDIR)/site.mk
|
-include $(GLUON_SITEDIR)/site.mk
|
||||||
|
|
||||||
|
|
||||||
|
GLUON_VERSION := $(shell cd $(GLUONDIR) && git describe --always 2>/dev/null || echo unknown)
|
||||||
|
export GLUON_VERSION
|
||||||
|
|
||||||
GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/site.conf) 2>/dev/null || stat -c %Y site.conf)
|
GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/site.conf) 2>/dev/null || stat -c %Y site.conf)
|
||||||
export GLUON_CONFIG_VERSION
|
export GLUON_CONFIG_VERSION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user