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

Do not handle clang / cpp projects anymore #69

Merged
merged 2 commits into from
Feb 17, 2023
Merged

Conversation

andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented Feb 16, 2023

  • Do not handle clang / cpp projects anymore.
  • Allow one to install pre-releases of mxpy, as well.

@andreibancioiu andreibancioiu self-assigned this Feb 16, 2023
@andreibancioiu andreibancioiu marked this pull request as ready for review February 16, 2023 18:50
const mxpyUpUrl = getMxpyUpUrl(version);
await downloadFile(mxpyUp, mxpyUpUrl);

const isV6OrNewer = version.isNewerOrSameAs(Version.parse("6.0.0-alpha.0"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is 6.0.0-alpha.0 a real tag?
the https://raw.githubusercontent.com/multiversx/mx-sdk-py-cli/6.0.0-alpha.0/mxpy-up.py URL composed at line 118 does not work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a real tag, it's the "smallest possible semver for v6". Here, we could have not used 6.0.0 for comparison. If we did so, we could have not installed, alpha / beta versions of mxpy.

Because, according to semver, 6.0.0-alpha.0 < 6.0.0-any-other-pre-release.42 < 6.0.0.

@andreibancioiu andreibancioiu merged commit 7cb27ab into master Feb 17, 2023
@andreibancioiu andreibancioiu deleted the update-16 branch March 18, 2023 19: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.

None yet

3 participants