Skip to content

Fix version logic when there are only pre-releases #2971

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

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

jtgeibel
Copy link
Member

It looks like fixing the bug in #2894 exposed this bug. When there are
only pre-release versions of a crate, the version number needs to be
extracted so that the version object can be located again a few lines
later. This could probably be refactored, but for now this removes the
spurious error notification shown in the UI.

r? @Turbo87

It looks like fixing the bug in rust-lang#2894 exposed this bug. When there are
only pre-release versions of a crate, the version number needs to be
extracted so that the version object can be located again a few lines
later. This could probably be refactored, but for now this removes the
spurious error notification shown in the UI.
@Turbo87
Copy link
Member

Turbo87 commented Oct 29, 2020

ouch... sorry about that. I thought I had written tests for this part of the code but apparently I missed this case 🤦

@bors r+

@bors
Copy link
Contributor

bors commented Oct 29, 2020

📌 Commit 8165ad5 has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Oct 29, 2020

⌛ Testing commit 8165ad5 with merge 8335e5d...

@bors
Copy link
Contributor

bors commented Oct 29, 2020

☀️ Test successful - checks-travis
Approved by: Turbo87
Pushing 8335e5d to master...

@bors bors merged commit 8335e5d into rust-lang:master Oct 29, 2020
@jtgeibel jtgeibel deleted the fix-prerelease-only branch November 21, 2020 23:26
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.

4 participants