diff --git a/.github/create_newsletter_scaffold.sh b/.github/create_newsletter_scaffold.sh index 60ba19b08..45184e856 100755 --- a/.github/create_newsletter_scaffold.sh +++ b/.github/create_newsletter_scaffold.sh @@ -27,6 +27,7 @@ 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_COUNTER_NEXT\s*}}/$((NEWSLETTER_COUNTER + 1))/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})" diff --git a/.github/newsletter-template.md b/.github/newsletter-template.md index bab2a8969..c1095d486 100644 --- a/.github/newsletter-template.md +++ b/.github/newsletter-template.md @@ -42,6 +42,7 @@ Feel free to send PRs about your own projects! - [Requests for Contribution](#requests-for-contribution) - [Jobs](#jobs) - [Bonus](#bonus) +- [Future news](#future-news) +## Future news + + + +Editing this newsletter wouldn't be possible without [your contributions][news_current_prs]. +Thanks to everyone who helped us this month! + +If you want something mentioned in the next newsletter, [send us a pull request][pr]. + +You can also get an early look at pending issues for the [next newsletter][news_future_prs]. + +[news_current_prs]: https://github.com/rust-gamedev/rust-gamedev.github.io/pulls?q=is%3Apr+in%3Atitle+%27N{{ NEWSLETTER_COUNTER }}%27 +[news_future_prs]: https://github.com/rust-gamedev/rust-gamedev.github.io/pulls?q=is%3Apr+in%3Atitle+%27N{{ NEWSLETTER_COUNTER_NEXT }}%27 + ------ That's all news for today, thanks for reading! -Want something mentioned in the next newsletter? -[Send us a pull request][pr]. - Also, subscribe to our socials if you want to receive fresh news! - X/Twitter: [@rust_gamedev][@x_rust_gamedev] - Mastodon: [@rust_gamedev][@mastodon_rust_gamedev]