Provide fallback for the config version before the site repo has commits
This commit is contained in:
parent
203e5b42c8
commit
1f0cfbc521
@ -22,7 +22,7 @@ $(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
|
||||
|
||||
define merge-lists
|
||||
|
Loading…
Reference in New Issue
Block a user