Promoting Configuration to v5.0.2

This commit is contained in:
Eugene Sadovoi 2017-10-28 19:19:46 -04:00
Родитель 423feacadc
Коммит 083b7f9e9d
4 изменённых файлов: 20 добавлений и 8 удалений

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

@ -3,7 +3,7 @@ configuration: Release
platform: Any CPU
install:
- ps: $env:build_version = (Select-Xml -Path ".\src\Unity.Configuration.csproj" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText
- ps: $env:build_version = (Select-Xml -Path ".\package.props" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText
- ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
dotnet_csproj:

13
package.props Normal file
Просмотреть файл

@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<Version>5.0.2</Version>
<PackageReleaseNotes>This package is compatible with .NET 4.0, 4.5, and 4.7 frameworks.</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
<UnityContainerVersion>5.1.0</UnityContainerVersion>
<UnityAbstractionsVersion>2.1.0</UnityAbstractionsVersion>
</PropertyGroup>
</Project>

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

@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>5.0.2</Version>
<PackageReleaseNotes>This package is compatible with .NET 4.0, 4.5, and 4.7 frameworks.</PackageReleaseNotes>
</PropertyGroup>
<Import Project="..\package.props" />
<PropertyGroup>
<FileVersion>$(Version).0</FileVersion>
@ -65,7 +62,7 @@
</ItemGroup>
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
<PackageReference Include="Unity.Abstractions" Version="2.0.2" />
<PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" />
</ItemGroup>
</Project>

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

@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\package.props" />
<PropertyGroup>
<TargetFramework>net47</TargetFramework>
<IsPackable>false</IsPackable>
@ -45,11 +47,11 @@
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
<PackageReference Include="Unity.Abstractions" Version="2.0.2" />
<PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" />
</ItemGroup>
<ItemGroup Condition="!Exists('$(UnityContainer)')">
<PackageReference Include="Unity.Container" Version="5.0.1" />
<PackageReference Include="Unity.Container" Version="$(UnityContainerVersion)" />
</ItemGroup>
</Project>