diff --git a/.github/create_newsletter_scaffold.sh b/.github/create_newsletter_scaffold.sh index 5c99f0d54..60ba19b08 100755 --- a/.github/create_newsletter_scaffold.sh +++ b/.github/create_newsletter_scaffold.sh @@ -17,10 +17,17 @@ if [[ -z "${NEWSLETTER_COUNTER}" ]]; then exit 1 fi +# NEWSLETTER_NEXT_MONTH_NUMBER +if [[ -z "${NEWSLETTER_NEXT_MONTH_NUMBER}" ]]; then + echo "NEWSLETTER_NEXT_MONTH_NUMBER is not set. Exiting..." + exit 1 +fi + cp .github/newsletter-template.md index.md sed -i "s/{{\s*NEWSLETTER_MONTH\s*}}/${NEWSLETTER_MONTH}/g" index.md sed -i "s/{{\s*NEWSLETTER_YEAR\s*}}/${NEWSLETTER_YEAR}/g" index.md sed -i "s/{{\s*NEWSLETTER_COUNTER\s*}}/${NEWSLETTER_COUNTER}/g" index.md +sed -i "s/{{\s*NEWSLETTER_NEXT_MONTH_NUMBER\s*}}/${NEWSLETTER_NEXT_MONTH_NUMBER}/g" index.md # Create a dir in content/news with the counter with 3 digits as name destination="content/news/$(printf "%03d" ${NEWSLETTER_COUNTER})" mkdir -p $destination diff --git a/.github/newsletter-issue-template.md b/.github/newsletter-issue-template.md index d4aef3292..4a7a9b8be 100644 --- a/.github/newsletter-issue-template.md +++ b/.github/newsletter-issue-template.md @@ -1,15 +1,14 @@ --- title: "Newsletter {{ env.NEWSLETTER_COUNTER}}: {{ env.NEWSLETTER_MONTH }} {{ env.NEWSLETTER_YEAR }}" labels: coordination, help wanted -assignees: janhohenheim +assignees: AngelOnFira, mamaicode, janhohenheim --- -###### tags: `newsletter` +# Newsletter {{ env.NEWSLETTER_COUNTER}}: {{ env.NEWSLETTER_MONTH }} {{ env.NEWSLETTER_YEAR }} -**Editors:** +**Editors:** @janhohenheim, @AngelOnFira, @mamaicode -Another month has gone by, so it's time to put together the Rust Gamedev -newsletter with {{ env.NEWSLETTER_MONTH }}'s news! +Another month has gone by, so it's time to put together the Rust Gamedev newsletter with {{ env.NEWSLETTER_MONTH }}'s news! ## Current Schedule