mirror of
https://github.com/lubuntu-team/blog.git
synced 2025-03-09 20:51:07 +00:00
Only update changed posts.
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user