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

Patch order on Add-XrmSolutionPatch wrong #310

Open
kazur97 opened this issue Aug 31, 2021 · 0 comments
Open

Patch order on Add-XrmSolutionPatch wrong #310

kazur97 opened this issue Aug 31, 2021 · 0 comments

Comments

@kazur97
Copy link

kazur97 commented Aug 31, 2021

When calling Add-XrmSolutionPatch, the cmdlet searches for the highest version patch for the parent solution. It does this by ordering the patches by its version string. This leads to 1.0.9.0 being greater than 1.0.10.0 because when comparing the strings "9" > "1", resulting in an error when creating patches beyond patch level 10

kazur97 pushed a commit to kazur97/xrm-ci-framework that referenced this issue Sep 1, 2021
kazur97 added a commit to kazur97/xrm-ci-framework that referenced this issue Mar 1, 2023
* Corrected path ordering when looking for highest version patch (Issue WaelHamze#310)

* Updated Dependencies to the latest version

* Share Power Apps Script

* Bug fixes

---------

Co-authored-by: Mark Haist <Mark.Mispelhorn@bizerba.com>
Co-authored-by: Wael Hamze <contact@waelhamze.com>
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

No branches or pull requests

1 participant