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

fix: Semantic version fix and multiple dash signs check added #242

Merged
merged 2 commits into from
Sep 8, 2020

Conversation

mnoman09
Copy link
Contributor

@mnoman09 mnoman09 commented Sep 3, 2020

Summary

  • Multiple fixed for sem-versioning
  • Compare build version and pre-release fix
  • Multiple - is now handled.

Test plan

All FSC tests must pass
Added unit tests

{
return false;
}
return buildIndex < preReleaseIndex;

Choose a reason for hiding this comment

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

A unified IsPrereleaseOrBuild method may be slightly more performant. I'd recommend going down that path.

Copy link

@thomaszurkan-optimizely thomaszurkan-optimizely left a comment

Choose a reason for hiding this comment

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

LGTM

@thomaszurkan-optimizely thomaszurkan-optimizely merged commit 38e82b2 into master Sep 8, 2020
@thomaszurkan-optimizely thomaszurkan-optimizely deleted the mnoman/semverFix branch September 8, 2020 22:51
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.

4 participants