8
0
mirror of https://github.com/lubuntu-team/blog.git synced 2025-04-16 18:01:08 +00:00

Only update changed posts.

This commit is contained in:
Simon Quigley 2019-04-19 18:37:44 -05:00
parent 70782af34a
commit da8613d88f

@ -1,5 +1,9 @@
#!/bin/bash
for post in `cat post-list`; do
git remote fetch;
POSTS=$(git diff --name-only master origin/master | grep "posts/" | sed "s/\/l10n*//g" | sed "s/\/post.md//g" | sed "s/\/info.yaml//g");
git pull;
for post in $POSTS; do
./update-post $post;
done