8
0
mirror of https://github.com/lubuntu-team/blog.git synced 2025-04-18 02:41:15 +00:00
blog/update-posts
2019-04-19 18:38:41 -05:00

10 lines
233 B
Bash
Executable File

#!/bin/bash
git remote update;
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