Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DateVersionCalculator to move next year calculation decision to the clients #619

Merged

Conversation

iangmaia
Copy link
Contributor

@iangmaia iangmaia commented Dec 2, 2024

What does it do?

Follow-up to the issue we have seen when releasing a new version in December, when DateVersionCalculator tried to ask for a user confirmation using FastlaneCore::UI.confirm while running a non-interactive session on CI via ReleasesV2.

This PR updates the code so that any time-specific logic (possibly using the user confirmation) could be implemented, if needed, on the clients of release-toolkit, while keeping the possibility in DateVersionCalculator to increment the year component of the version.

Checklist before requesting a review

  • Run bundle exec rubocop to test for code style violations and recommendations
  • Add Unit Tests (aka specs/*_spec.rb) if applicable
  • Run bundle exec rspec to run the whole test suite and ensure all your tests pass
  • Make sure you added an entry in the CHANGELOG.md file to describe your changes under the appropriate existing ### subsection of the existing ## Trunk section.
  • If applicable, add an entry in the MIGRATION.md file to describe how the changes will affect the migration from the previous major version and what the clients will need to change and consider.

@iangmaia iangmaia requested review from spencertransier and a team December 2, 2024 11:21
@iangmaia iangmaia self-assigned this Dec 2, 2024
@iangmaia iangmaia marked this pull request as ready for review December 2, 2024 11:22
@iangmaia iangmaia requested a review from guarani December 2, 2024 11:23
@iangmaia iangmaia merged commit ab97199 into trunk Dec 2, 2024
5 of 7 checks passed
@iangmaia iangmaia deleted the iangmaia/move-next-year-version-calc-decision-to-clients branch December 2, 2024 11:47
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