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

Add methods to manipulate semantic versions #12834

Conversation

gabriel-ss
Copy link
Contributor

Following #12499, this PR add some convenience methods to manipulate semantic versions. Although some functionality must be implemented according to the conventions being used (namely pre-release conventions), this should provide an agnostic basis to implement version bumping logic.

spec/std/semantic_version_spec.cr Outdated Show resolved Hide resolved
src/semantic_version.cr Outdated Show resolved Hide resolved
@gabriel-ss
Copy link
Contributor Author

Applied both changes on 71641d6.

Copy link
Member

@beta-ziliani beta-ziliani left a comment

Choose a reason for hiding this comment

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

Thanks @gabriel-ss !

@beta-ziliani beta-ziliani added this to the 1.7.0 milestone Dec 20, 2022
@beta-ziliani beta-ziliani linked an issue Dec 20, 2022 that may be closed by this pull request
@straight-shoota straight-shoota merged commit f88c3ce into crystal-lang:master Dec 21, 2022
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.

Method to bump semantic version
4 participants