1
0
Fork 0

Passing all tags to git-weblog for blog and sorting by date

website
Mike Gerwitz 2012-01-07 23:35:12 -05:00
parent f801827473
commit d86f5f8d7f
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ blog:
git log --log-size --format="%H%n%B" master \ git log --log-size --format="%H%n%B" master \
| grep -A1 '^log size \([5-9][0-9]\{2,\}\|[0-9]\{4,\}\)$$' \ | grep -A1 '^log size \([5-9][0-9]\{2,\}\|[0-9]\{4,\}\)$$' \
| grep -o '^[a-z0-9]\+$$' \ | grep -o '^[a-z0-9]\+$$' \
| xargs git weblog 0.1.0 \ | xargs git weblog -D $$( git tag -l ) \
| cat $(header) - $(footer) \ | cat $(header) - $(footer) \
| sed 's/\(<body\)/\1 class="blog"/' \ | sed 's/\(<body\)/\1 class="blog"/' \
> "$(outdir)/blog.html" > "$(outdir)/blog.html"