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

Fixed a potential error #1516

Closed
wants to merge 1 commit into from
Closed

Fixed a potential error #1516

wants to merge 1 commit into from

Conversation

the-eric-kwok
Copy link

While updating, the scrip only compare the second version number. If my local veresion is 3.1.0, and the latest version is 4.1.0, the script will treated it in the same way, and will not upgrade.

While updating, the screip only compare the second version number. If my local veresion is `3.1.0`, and the latest version is `4.1.0`, the script will treated it in the same way, and will not upgrade.
@sunshineplan
Copy link
Contributor

echo 4.1.0 | cut -d. -f-2
4.1

@the-eric-kwok
Copy link
Author

Oops..
⁄(⁄ ⁄ ⁄ω⁄ ⁄ ⁄)⁄
Sorry about that

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.

None yet

2 participants