Skip to content

Conversation

senekor
Copy link
Contributor

@senekor senekor commented May 22, 2025

The previous approach to detect if a release is the last one in a year was incorrect. It checked if the following post was in the next year. However, the following post doesn't have to be a release, so the check could fail.

The result was missing year delimiters "Releases in YYYY".

A mutable variable makes it easier to track the actual year of the last rendered release post.

The previous approach to detect if a release is the last one in a year
was incorrect. It checked if the following post was in the next year.
However, the following post doesn't have to be a release, so the check
could fail.

The result was missing year delimiters "Releases in YYYY".

A mutable variable makes it easier to track the actual year of the last
rendered release post.
@senekor senekor requested a review from Manishearth May 22, 2025 20:57
@senekor senekor merged commit 6ab4ffd into master May 22, 2025
5 checks passed
@senekor senekor deleted the senekor-vmuzmspvsvwq branch May 22, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants