Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

craete version index page

  • Loading branch information...
commit 19d8673c9fc66f9d496e026faafadfd6bd6425ce 1 parent 59295a7
@janl authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 Makefile
@@ -39,7 +39,10 @@ build-wrappers:
cp wrappers/mustache-$(version)/* $(version)
rm -rf wrappers
# update gh-pages with release links & travis
- # TODO: add $(version)/index.html page (from template)
+ # add $(version)/index.html page (from template)
+ date=`date`
+ sed -e 's|%version%|$(version)|' \
+ -e 's|%date%|$(date)' release-index.html > $(version)/index.html
# update index.html to point to $(vesion)
cat index.html.pre > index.html
for release in `ls -p | grep '/'`; do relno=`echo $$release | sed -e 's|/||'`; echo "<li><a href=\"$${release}\">$${relno}</a></li>" >> index.html; done
Please sign in to comment.
Something went wrong with that request. Please try again.