From ae70e76324c47d42db0f18f3c2ed611b8226d2d6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 21 Mar 2023 21:01:55 +0000 Subject: [PATCH] build: remove the website prefix --- run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run b/run index 1258cb236..ad3335038 100755 --- a/run +++ b/run @@ -13,12 +13,12 @@ function task:daily { # Find the next post date based on the last post in the directory. local next_date if [[ "${1}" == "next" ]]; then - next_date=$(ls -1 website/src/daily-emails | tail -n 1 | tr -d '.md' | xargs -I {} date +%Y-%m-%d -d '{} +1 day') + next_date=$(ls -1 src/daily-emails | tail -n 1 | tr -d '.md' | xargs -I {} date +%Y-%m-%d -d '{} +1 day') else next_date="${1}" fi - local filepath="website/src/daily-emails/${next_date}.md" + local filepath="src/daily-emails/${next_date}.md" shift 1