From 7a7f952149202d5b4977698f834f0f153f27cc1c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 10 Jun 2023 10:51:44 +0100 Subject: [PATCH] build: include post title in commit message --- tools/scripts/create-daily.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/scripts/create-daily.sh b/tools/scripts/create-daily.sh index e4bc4762..976ec1af 100755 --- a/tools/scripts/create-daily.sh +++ b/tools/scripts/create-daily.sh @@ -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}"