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

Provide fallback for the config version before the site repo has commits

parent 203e5b42
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ $(GLUON_SITEDIR)/site.mk: ...@@ -22,7 +22,7 @@ $(GLUON_SITEDIR)/site.mk:
-include $(GLUON_SITEDIR)/site.mk -include $(GLUON_SITEDIR)/site.mk
GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/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
define merge-lists define merge-lists
......
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