Skip to content

Commit 866f8d7

Browse files
Vrixyzjanhohenheim
andauthored
Future news section (#1499)
Co-authored-by: Jan Hohenheim <[email protected]>
1 parent 5c0c3a6 commit 866f8d7

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/create_newsletter_scaffold.sh

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cp .github/newsletter-template.md index.md
2727
sed -i "s/{{\s*NEWSLETTER_MONTH\s*}}/${NEWSLETTER_MONTH}/g" index.md
2828
sed -i "s/{{\s*NEWSLETTER_YEAR\s*}}/${NEWSLETTER_YEAR}/g" index.md
2929
sed -i "s/{{\s*NEWSLETTER_COUNTER\s*}}/${NEWSLETTER_COUNTER}/g" index.md
30+
sed -i "s/{{\s*NEWSLETTER_COUNTER_NEXT\s*}}/$((NEWSLETTER_COUNTER + 1))/g" index.md
3031
sed -i "s/{{\s*NEWSLETTER_NEXT_MONTH_NUMBER\s*}}/${NEWSLETTER_NEXT_MONTH_NUMBER}/g" index.md
3132
# Create a dir in content/news with the counter with 3 digits as name
3233
destination="content/news/$(printf "%03d" ${NEWSLETTER_COUNTER})"

.github/newsletter-template.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Feel free to send PRs about your own projects!
4242
- [Requests for Contribution](#requests-for-contribution)
4343
- [Jobs](#jobs)
4444
- [Bonus](#bonus)
45+
- [Future news](#future-news)
4546

4647
<!--
4748
Ideal section structure is:
@@ -112,13 +113,24 @@ useful information -->
112113
<!-- Bonus section to make the newsletter more interesting
113114
and highlight events from the past. -->
114115

116+
## Future news
117+
118+
<!-- Section to get more people involved in writing news. -->
119+
120+
Editing this newsletter wouldn't be possible without [your contributions][news_current_prs].
121+
Thanks to everyone who helped us this month!
122+
123+
If you want something mentioned in the next newsletter, [send us a pull request][pr].
124+
125+
You can also get an early look at pending issues for the [next newsletter][news_future_prs].
126+
127+
[news_current_prs]: https://github.com/rust-gamedev/rust-gamedev.github.io/pulls?q=is%3Apr+in%3Atitle+%27N{{ NEWSLETTER_COUNTER }}%27
128+
[news_future_prs]: https://github.com/rust-gamedev/rust-gamedev.github.io/pulls?q=is%3Apr+in%3Atitle+%27N{{ NEWSLETTER_COUNTER_NEXT }}%27
129+
115130
------
116131

117132
That's all news for today, thanks for reading!
118133

119-
Want something mentioned in the next newsletter?
120-
[Send us a pull request][pr].
121-
122134
Also, subscribe to our socials if you want to receive fresh news!
123135
- X/Twitter: [@rust_gamedev][@x_rust_gamedev]
124136
- Mastodon: [@rust_gamedev][@mastodon_rust_gamedev]

0 commit comments

Comments
 (0)