Skip to content

Conversation

@lukebakken
Copy link
Collaborator

Turns out that Version.TryParse does not handle semver, and the following version will not be parsed:

3.8.5-alpha.8

This change removes all characters following the dash and the dash itself.

https://ci.rabbitmq.com/teams/main/pipelines/dotnet/jobs/test/builds/343

Turns out that Version.TryParse does not handle semver, and the following version will not be parsed:

3.8.5-alpha.8

This change removes all characters following the dash and the dash itself.

https://ci.rabbitmq.com/teams/main/pipelines/dotnet/jobs/test/builds/343
@lukebakken lukebakken self-assigned this Jun 10, 2020
@michaelklishin michaelklishin merged commit 04bca53 into master Jun 10, 2020
@michaelklishin michaelklishin deleted the lrb-fix-version-parsing branch June 10, 2020 18:35
lukebakken pushed a commit that referenced this pull request Jun 10, 2020
Fix RabbitMQ version parsing

(cherry picked from commit 04bca53)
@lukebakken
Copy link
Collaborator Author

Thanks @michaelklishin - backported to 6.x

@michaelklishin michaelklishin added this to the 6.1.1 milestone Jun 11, 2020
@lukebakken lukebakken modified the milestones: 6.1.1, 6.2.0 Jun 24, 2020
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.

3 participants