Skip to content

Commit

Permalink
Promoting Configuration to v5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ENikS committed Oct 28, 2017
1 parent 423feac commit 083b7f9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 13 additions & 0 deletions package.props
Original file line number Diff line number Diff line change
@@ -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>
7 changes: 2 additions & 5 deletions src/Unity.Configuration.csproj
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -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>
6 changes: 4 additions & 2 deletions tests/Configuration.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\package.props" />

<PropertyGroup>
<TargetFramework>net47</TargetFramework>
<IsPackable>false</IsPackable>
Expand Down Expand Up @@ -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>

0 comments on commit 083b7f9

Please sign in to comment.