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

GH1669: fixed parsing of versions with prerelease #3568

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

sgronlund
Copy link
Contributor

Issue

Closes #1669

Reason for PR

Fixed the parsing of version number which includes prereleases.

Features, i.e. what has been implemented?

Change the ´Version´-class used in the parsing of release notes the another class SemanticVersion-class written by devlead. This allows the ReleaseNotesParser to handle the version number which contains prereleases or similiar. Tests have been added to check that this works.

@dnfadmin
Copy link

dnfadmin commented Oct 9, 2021

CLA assistant check
All CLA requirements met.

@sgronlund
Copy link
Contributor Author

sgronlund commented Oct 9, 2021

CI seems to fail due to a file not adhering to certain rules, will fix these accordingly.

EDIT: Fixed rules in new class, will check if CI succeeds, Found issue in .cake files, will fix

@augustoproiete augustoproiete marked this pull request as draft October 9, 2021 16:28
src/Cake.Common/ReleaseNotes.cs Outdated Show resolved Hide resolved
src/Cake.Common/ReleaseNotes.cs Outdated Show resolved Hide resolved
@sgronlund
Copy link
Contributor Author

CI now seems to work, sorry for the large number of small commits! was a bit absentminded this morning 😅

@devlead devlead force-pushed the parse-prerelease branch 2 times, most recently from fc2620f to 3f2e320 Compare October 19, 2021 11:00
Copy link
Member

@devlead devlead left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@devlead devlead marked this pull request as ready for review October 19, 2021 11:01
@devlead devlead enabled auto-merge October 19, 2021 11:01
@devlead devlead merged commit fc308f4 into cake-build:develop Oct 19, 2021
@devlead
Copy link
Member

devlead commented Oct 19, 2021

@sgronlund your changes have been merged, thanks for your contribution 👍

@augustoproiete
Copy link
Member

@sgronlund If you have a Twitter account and want us to give you a shout out when this gets released, let us know your Twitter handle.

@@ -15,11 +15,23 @@ public sealed class TheConstructor
public void Should_Throw_If_Version_Is_Null()
Copy link

Choose a reason for hiding this comment

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

false

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.

Release notes does not tolerate prerelease versions
5 participants