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

make dev suffix rank works for uppercase too #22

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

TomasVotruba
Copy link
Contributor

@TomasVotruba TomasVotruba commented Dec 5, 2020

Hi, I wanted to release a new version after BETA, with name RC, but they were the same.

I digged deeper and discoverd the score is incorrectly interpreted for uppercase.

  • rc -> 3
  • RC -> 0
  • beta -> 2
  • BETA -> 0

This PR fixes this behavior:

 rc -> 3
-RC -> 0
+RC -> 3
 beta -> 2
-BETA -> 0
+BETA -> 2

Hi, I wanted to release a new version after BETA, with name RC, but they were the same.

I digged deeper and discoverd the score is incorrectly interpreted for uppercase.

- rc -> 3
- RC -> 0
- beta -> 2
- BETA -> 0
@TomasVotruba
Copy link
Contributor Author

CI fail is unrelated

image

@TomasVotruba TomasVotruba changed the title make dev suffix rank work for uppercase too make dev suffix rank works for uppercase too Dec 5, 2020
@theseer theseer merged commit 484d0fb into phar-io:master Dec 11, 2020
@theseer
Copy link
Member

theseer commented Dec 11, 2020

Nice catch. Thanks.

@TomasVotruba TomasVotruba deleted the patch-1 branch December 12, 2020 00:37
@TomasVotruba
Copy link
Contributor Author

Thank you 👍

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