ci: Don't arbitrarily replace all dependencies versions without dependency groups

This commit is contained in:
Jerome Laban 2021-11-14 10:07:58 -05:00
Родитель 33740d8b6b
Коммит 99f2c2165a
2 изменённых файлов: 5 добавлений и 8 удалений

Просмотреть файл

@ -12,10 +12,10 @@
<copyright>nventive</copyright>
<repository type="git" url="https://github.com/unoplatform/uno.git" branch="$branch$" commit="$commitid$" />
<dependencies>
<dependency id="Uno.Foundation.Logging" version="0.0.0" />
<dependency id="Uno.Core.Extensions.Logging.Singleton" version="4.0.0-dev.7" />
<dependency id="Uno.Core.Extensions.Logging" version="4.0.0-dev.7" />
</dependencies>
<dependency id="Uno.Foundation.Logging" version="0.0.0" />
<dependency id="Uno.Core.Extensions.Logging.Singleton" version="4.0.0-dev.7" />
<dependency id="Uno.Core.Extensions.Logging" version="4.0.0-dev.7" />
</dependencies>
</metadata>
<files>

Просмотреть файл

@ -280,16 +280,13 @@
<_NuspecFiles Include=".\Uno.UI.Adapter.Microsoft.Extensions.Logging.nuspec" />
</ItemGroup>
<!-- Update the package version -->
<XmlPoke XmlInputPath="%(_NuspecFiles.Identity)" Query="/x:package/x:metadata/x:dependencies/x:dependency/@version" Value="$(GITVERSION_SemVer)" Namespaces="$(NugetNamespace)" />
<!-- Update Uno.WinUI references version -->
<XmlPoke XmlInputPath="%(_NuspecFiles.Identity)" Query="/x:package/x:metadata/x:dependencies//x:dependency[@id='Uno.WinUI']/@version" Value="$(GITVERSION_SemVer)" Namespaces="$(NugetNamespace)" />
<!-- Update Uno.Foundation.Runtime.WebAssembly references version -->
<XmlPoke XmlInputPath="%(_NuspecFiles.Identity)" Query="/x:package/x:metadata/x:dependencies//x:dependency[@id='Uno.Foundation.Runtime.WebAssembly']/@version" Value="$(GITVERSION_SemVer)" Namespaces="$(NugetNamespace)" />
<!-- Update Uno.Foundation.Runtime.WebAssembly references version -->
<!-- Update Uno.WinUI.Runtime.WebAssembly references version -->
<XmlPoke XmlInputPath="%(_NuspecFiles.Identity)" Query="/x:package/x:metadata/x:dependencies//x:dependency[@id='Uno.WinUI.Runtime.WebAssembly']/@version" Value="$(GITVERSION_SemVer)" Namespaces="$(NugetNamespace)" />
<!-- Update Uno.WinUI.Runtime.Skia.Gtk references version -->