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

chore(build): Fix equality for latest release #183

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

paul1r
Copy link
Contributor

@paul1r paul1r commented Jan 27, 2025

Prior to this change, the check for whether or not something was the "latest" version would return false if the check was against what is the highest version.

For example:
If there was a 3.3.3 release version, and a test came in for the same value, it would return false.

This PR adjusts the logic to ensure that the test for the "latest" version does not short circuit early.

I have included another test case, and adjusted one existing test case for this new behavior.

Copy link
Collaborator

@trevorwhitney trevorwhitney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, good catch, equal to the latest version should still be the latest!

@trevorwhitney trevorwhitney merged commit 34a7c70 into main Jan 28, 2025
31 checks passed
@trevorwhitney trevorwhitney deleted the paul1r/fix_comparison branch January 28, 2025 18:06
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