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

Refactor GitVersion.Core for clear, maintainable methods #3804

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

arturcic
Copy link
Member

This commit refactors several methods within GitVersion.Core and its associated test files for better clarity and maintainability. Apart from renaming variables for clearer intent, it also streamlines the use of JsonSerializerOptions and simplifies the use of the 'toJson' method throughout the codebase. Moreover, it adjusts the accessibility of certain methods, modifying them from public to internal where appropriate.

This commit refactors several methods within GitVersion.Core and its associated test files for better clarity and maintainability. Apart from renaming variables for clearer intent, it also streamlines the use of JsonSerializerOptions and simplifies the use of the 'toJson' method throughout the codebase. Moreover, it adjusts the accessibility of certain methods, modifying them from public to internal where appropriate.
@arturcic arturcic marked this pull request as ready for review November 27, 2023 12:49
@arturcic arturcic merged commit 8ea3aaa into GitTools:main Nov 27, 2023
129 checks passed
Copy link
Contributor

mergify bot commented Nov 27, 2023

Thank you @arturcic for your contribution!

arturcic added a commit to arturcic/GitVersion that referenced this pull request Nov 29, 2023
Refactor GitVersion.Core for clear, maintainable methods
@arturcic arturcic added this to the 6.x milestone Dec 11, 2023
@arturcic arturcic modified the milestones: 6.x, 6.0.0-beta.4 Dec 12, 2023
@arturcic
Copy link
Member Author

🎉 This issue has been resolved in version 6.0.0-beta.4 🎉
The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant