build: include post title in commit message

This commit is contained in:
Oliver Davies 2023-06-10 10:51:44 +01:00
parent 638f5ca3c0
commit 7a7f952149

View file

@ -31,6 +31,8 @@ sed -i "s#{{ permalink }}#archive/${year}/${month}/${day}/${slug}#" "${filepath}
# Create a commit with the appropriate date in the message
git add "${filepath}"
git commit -m "daily-email: add ${date}"
git commit -m "daily-email: add ${date}
${title}"
echo "${filepath}"