-
-
Notifications
You must be signed in to change notification settings - Fork 176
Description
The issue with using git commit ids as prerelease values is that they are not incremental and break the sorting. If a nuget monorepo gets built with a project reference, the dependency is >= 1.0.1-beta-df61s0df. The next build gets built but only one project gets updated, but the updated project now references the other project using the current commit id, but the current commit id just so happens to be sorted lower than previous version. The nuget update manager in VS thinks the older nuget package is the newest, when in fact there is one higher but has a commit id that is making it sort wrong.
Is there a way to fix this kind of issue with monorepos, or a feature can be added to enable using something like build id that is incremented each pipeline run and the commit id is set as metadata.