Skip to content

Track RELEASE_DATE constant in version file#113

Merged
saturnflyer merged 5 commits intomainfrom
release-date
Feb 25, 2026
Merged

Track RELEASE_DATE constant in version file#113
saturnflyer merged 5 commits intomainfrom
release-date

Conversation

@saturnflyer
Copy link
Member

Summary

  • Add update_release_date method to VersionUpdater using regex-based gsub (no-ops when constant is absent)
  • Reset RELEASE_DATE to "Unreleased" on version bump via Reissue.call
  • Set RELEASE_DATE to the actual date on Reissue.finalize when version_file: is provided
  • Forward version_file: through the finalize rake task

Test Plan

  • Unit tests for update_release_date (updates value, no-ops when absent, handles empty string)
  • Integration tests for Reissue.call (resets to Unreleased, safe without constant)
  • Integration tests for Reissue.finalize (sets date, safe without version_file)
  • Full suite passes (140 runs, 394 assertions, 0 failures)
  • standardrb clean

Added: RELEASE_DATE constant tracking in VersionUpdater
Added: Reset RELEASE_DATE to Unreleased when bumping version via Reissue.call
Added: Update RELEASE_DATE to actual date during Reissue.finalize
Changed: Pass version_file to Reissue.finalize from rake task
@saturnflyer saturnflyer requested a review from a team as a code owner February 24, 2026 20:10
@saturnflyer saturnflyer merged commit f0c4ee5 into main Feb 25, 2026
2 checks passed
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