Merge pull request #223 from aspnet/rel/2.0.0-preview2
Pin version of SplitPackages
This commit is contained in:
Коммит
8ae636393d
|
@ -1,5 +1,8 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<SplitPackagesVersion>1.0.2-rc2-15276</SplitPackagesVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SplitPackages" Version="1.0.2-*" />
|
||||
<PackageReference Include="SplitPackages" Version="$(SplitPackagesVersion)" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<NuGetPublishFeed>https://dotnet.myget.org/f/aspnetcore-ci-dev</NuGetPublishFeed>
|
||||
<NpmRegistry>$(NuGetPublishFeed)/npm/</NpmRegistry>
|
||||
|
@ -40,14 +40,14 @@
|
|||
<Exec Command="dotnet run $(VerifierArgs)" WorkingDirectory="$(VerifierProjectDirectory)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="RunSplitPackages" DependsOnTargets="RunResolvePackageDependencies;_FindDotNetPath">
|
||||
<ItemGroup>
|
||||
<SplitPackagePath Include="%(PackageDefinitions.ResolvedPath)" Condition="'%(PackageDefinitions.Name)'=='SplitPackages'" />
|
||||
</ItemGroup>
|
||||
<Target Name="RunSplitPackages" DependsOnTargets="_FindDotNetPath">
|
||||
<PropertyGroup>
|
||||
<SplitPackagePath>$([MSBuild]::EnsureTrailingSlash('$(NuGetPackageRoot)'))splitpackages\$(SplitPackagesVersion)</SplitPackagePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProductPackagesSource>$(ArtifactsDir)product-packages</ProductPackagesSource>
|
||||
<SplitPackagesCsv>$(RepositoryRoot)packages\packages.csv</SplitPackagesCsv>
|
||||
<SplitPackagesBinary>@(SplitPackagePath)\SplitPackages.dll</SplitPackagesBinary>
|
||||
<SplitPackagesBinary>$(SplitPackagePath)\SplitPackages.dll</SplitPackagesBinary>
|
||||
<SplitPackagesArgs>--source $(ProductPackagesSource) --csv $(SplitPackagesCsv) --destination $(ArtifactsDir)</SplitPackagesArgs>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче