Don't break build if no tags in history

This commit is contained in:
Gareth McMullin 2016-10-22 13:19:00 -07:00
parent 7b575bd7c6
commit 7c83536c14
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ clean: host_clean
all_platforms:
$(Q)set -e ;\
mkdir -p artifacts/$(shell git describe) ;\
mkdir -p artifacts/$(shell git describe --always) ;\
echo "<html><body><ul>" > artifacts/index.html ;\
for i in platforms/*/Makefile.inc ; do \
export DIRNAME=`dirname $$i` ;\
@ -102,7 +102,7 @@ all_platforms:
fi ;\
done ;\
echo "</ul></body></html>" >> artifacts/index.html ;\
cp artifacts/*.bin artifacts/$(shell git describe)
cp artifacts/*.bin artifacts/$(shell git describe --always)
include/version.h: FORCE