I've got a kind of 'rolling update' policy for nugets:
<ItemGroup>
<PackageReference Include="AutoMapper" Version="12.*" />
...
</ItemGroup>
In addition, I have packages.lock.json with specific versions. Now the release time comes. I will cut the release branch and I need to 'freeze' nuget versions for a month in a release branch. Question: can I do some magic trick and set specific strict version of the nuget package for release branch, something like:
<PackageReference Include="AutoMapper" Version="12.*" /> + packages.lock.json + some command -> <PackageReference Include="AutoMapper" Version="12.0.4" />
<PackageReference Include="AutoMapper" Version="12.0.4" />is not a strict version rule; that would beVersion="[12.0.4]"some commandto update PackageReference from float version to strict one instead of manually modifying ?