Merge pull request #223 from aspnet/rel/2.0.0-preview2

Pin version of SplitPackages
This commit is contained in:
Pranav K 2017-06-06 11:02:34 -07:00 коммит произвёл GitHub
Родитель 7ad8b0d16a d7d49d740a
Коммит 8ae636393d
2 изменённых файлов: 10 добавлений и 7 удалений

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

@ -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>