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 latest package resolution #31

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Conversation

JLChnToZ
Copy link
Contributor

This PR fixes minor version number resolution, which tweaks version X.9.0 > X.10.0 and make generated page displays inaccurately, which #18 has mentioned.

I know there was another PR (#19) also trying to fix this, but they uses natural string instead of semantic versioning for sorting versions, which the later one is what the package manager actually uses. I think it would be better to use the same thing as it will more accurate and clean, and with lesser extra code.

Copy link

github-actions bot commented Nov 21, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@JLChnToZ
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Contributor

@orels1 orels1 left a comment

Choose a reason for hiding this comment

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

This looks good, but can I ask you to use our wrapper around semver instead?

VRC.PackageManagement.Core.Types.VPMVersion.Version

Currently it is a straight-up passthrough of semver, but we use it everywhere, so it would help to stay consistent

orels1 added a commit to orels1/automation-testing that referenced this pull request Nov 26, 2024
Copy link
Contributor

@orels1 orels1 left a comment

Choose a reason for hiding this comment

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

Tested it, all looks good. Thank you!

@orels1 orels1 merged commit 52a99f2 into vrchat-community:main Nov 26, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants