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

Handle Pre-Releases #126

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Handle Pre-Releases #126

merged 1 commit into from
Apr 11, 2023

Conversation

chelnak
Copy link
Owner

@chelnak chelnak commented Apr 11, 2023

Prior to this change, the generator could not handle pre-releases.

This change updates utils.VersionIsGreaterThan so that it uses compare vs the previous constraint.

Comparse will take in to consideration pre-releases where as constraints did not.

https://pkg.go.dev/github.com/Masterminds/semver/v3#Version.Compare

Prior to this change, the generator could not handle pre-releases.

This change updates `utils.VersionIsGreaterThan` so that it uses
compare vs the previous constraint.

`Comparse` will take in to consideration pre-releases where as
constraints did not.

https://pkg.go.dev/github.com/Masterminds/semver/v3#Version.Compare
@chelnak chelnak added the bug Something isn't working label Apr 11, 2023
@chelnak chelnak self-assigned this Apr 11, 2023
@chelnak chelnak merged commit 7d4a703 into main Apr 11, 2023
@chelnak chelnak deleted the handle_pre_releases branch April 11, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant