Skip to content
Snippets Groups Projects
Commit ebf0d128 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Supply GLUON_VERSION variable

parent ce2dfc46
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,9 @@ $(GLUON_SITEDIR)/site.mk: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment