From 108c1f6c42157acd1d0e0ba6e7a1b2442b9559f9 Mon Sep 17 00:00:00 2001 From: teuserer Date: Tue, 7 Jan 2025 19:54:17 +0100 Subject: [PATCH] fix: automatically create directory for current year --- tools/generate_softwerke_stammtisch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/generate_softwerke_stammtisch.sh b/tools/generate_softwerke_stammtisch.sh index 677598a..ea9d912 100755 --- a/tools/generate_softwerke_stammtisch.sh +++ b/tools/generate_softwerke_stammtisch.sh @@ -27,6 +27,7 @@ git branch -D "events/$filename" > /dev/null 2>&1 git checkout -b "events/$filename" > /dev/null || exit 1 # Create the new file +mkdir "$root_dir/_events/$year" cat > "$root_dir/_events/$year/$filename" <