WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Patch solution version issue #277

Open SreejithDXB opened 1 year ago

SreejithDXB commented 1 year ago

Hello,

I am using the CreatePatch option in one of our pipelines to automatically create daily patches of certain solutions in our dev environment.

image

I am leaving the patch version number blank, since my requirement is that the new patch should have the latest version number.

However, the pipeline fails as below

Agent Job Test -- 1 error(s), 0 warning(s)Patch 'NetwaysAppsSolution_Patch_05c3cb89' has a matching or higher version (1.45.124.0) than that of the patch being installed. | 1 error(s), 0 warning(s) |   | Patch 'NetwaysAppsSolution_Patch_05c3cb89' has a matching or higher version (1.45.124.0) than that of the patch being installed. 1 error(s), 0 warning(s)   | Patch 'NetwaysAppsSolution_Patch_05c3cb89' has a matching or higher version (1.45.124.0) than that of the patch being installed.

The latest version number of the aforementioned patch is 1.45.138.0

Is there any way to fix this ? It will help us big time, since we have a daily task of creating about 12 different patches and we are doing this manually at the moment.

Thanks and regards.