summaryrefslogtreecommitdiff
path: root/lib/atomfeed.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-06-05 19:20:18 +0100
committerPaul Buetow <git@mx.buetow.org>2021-06-05 19:20:18 +0100
commitacef16a694c747ab29665e32e99a247bfdbb0246 (patch)
treea4dbedd1c45fc5d661798c93970b163f080b95de /lib/atomfeed.source.sh
parent58aceb21dbe298b148c030df3537a0daf713a9a8 (diff)
commit meta files to git too
Diffstat (limited to 'lib/atomfeed.source.sh')
-rw-r--r--lib/atomfeed.source.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/atomfeed.source.sh b/lib/atomfeed.source.sh
index e1ee406..52a61e1 100644
--- a/lib/atomfeed.source.sh
+++ b/lib/atomfeed.source.sh
@@ -40,6 +40,8 @@ META
cat "$meta_file"
if [[ $is_draft == yes ]]; then
rm "$meta_file"
+ else
+ git::add meta "$meta_file"
fi
}