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

Fix Logic behind Version Check #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

QuatZo
Copy link

@QuatZo QuatZo commented Mar 19, 2020

Fixed logic behind checking a repo version.
Before: If request successfuly retrieved latest version tag, then no matter of installed version people in SWEX would get You have the latest version v[xxx]. Variable newest wasn't used anywhere.
After: Variable newest (as expected) checks if current & latest versions are the same. If they are, SWEX prints You have the latest version v[xxx]. If no, then prints Your current version is v[xxx] and the latest version is v[yyy] Click here to download the latest version.. Link works as intended.

Fixed logic behind checking a repo version.
@QuatZo QuatZo changed the title Fix Logic behind Versionm Check Fix Logic behind Version Check Mar 19, 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.

1 participant