Skip to content

Commit

Permalink
Move "Package information" from "build/dependencies.props" to "Direct…
Browse files Browse the repository at this point in the history
…ory.Build.props"

Add Source Link to Github
Minimun version 3.1.300 to avoid issue "dotnet/sourcelink#572"
  • Loading branch information
Sergio1192 committed Mar 17, 2022
1 parent 2f1bb40 commit 31912ec
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 17 deletions.
29 changes: 29 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
<Project>
<Import Project="build/dependencies.props" />

<PropertyGroup Label="Package information">
<Version>3.1.0</Version>
<PackageLicenseUrl>https://github.com/Xabaril/Acheve.TestHost/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>http://github.com/xabaril/Acheve.TestHost</PackageProjectUrl>
<RepositoryUrl>http://github.com/xabaril/Acheve.TestHost</RepositoryUrl>
<Authors>Xabaril Contributors</Authors>
<Company>Xabaril</Company>
<Description>Achve.TestHost is a nuget package to improve TestServer experiences.
For more information see http://github.com/Xabaril/Acheve.TestHost</Description>
<Tags>TestHost;TestServer</Tags>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGithub)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
17 changes: 3 additions & 14 deletions build/dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,11 @@
<JwtBearerVersion>3.1.23</JwtBearerVersion>
<FluentAssertionsVersion>6.5.1</FluentAssertionsVersion>
<NewtonsoftJson>13.0.1</NewtonsoftJson>
<MicrosoftSourceLinkGithub>1.1.1</MicrosoftSourceLinkGithub>
</PropertyGroup>

<PropertyGroup Label="CLI Tools Versions">
<PropertyGroup Label="Testing Dependencies">
<DotnetXUnitPackageVersion>2.4.1</DotnetXUnitPackageVersion>
<DotnetXUnitRunnerPackageVersion>2.4.3</DotnetXUnitRunnerPackageVersion>
</PropertyGroup>

<PropertyGroup Label="Package information">
<PackageLicenseUrl>https://github.com/Xabaril/Acheve.TestHost/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>http://github.com/xabaril/Acheve.TestHost</PackageProjectUrl>
<RepositoryUrl>http://github.com/xabaril/Acheve.TestHost</RepositoryUrl>
<Authors>Xabaril Contributors</Authors>
<Company>Xabaril</Company>
<Version>3.1.0</Version>
<Description>Achve.TestHost is a nuget package to improve TestServer experiences.
For more information see http://github.com/Xabaril/Acheve.TestHost</Description>
<Tags>TestHost;TestServer</Tags>
</PropertyGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"projects": [ "src", "test", "samples" ],
"sdk": {
"version": "3.1.100",
"version": "3.1.300",
"rollForward": "latestMajor"
}
}
7 changes: 5 additions & 2 deletions src/Acheve.TestHost/Acheve.TestHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

<PropertyGroup>
<TargetFramework>$(NetCoreTargetVersion)</TargetFramework>

<Version>$(Version)</Version>
<PackageLicenseUrl>$(PackageLicenseUrl)</PackageLicenseUrl>
<PackageProjectUrl>$(PackageProjectUrl)</PackageProjectUrl>
<RepositoryUrl>$(RepositoryUrl)</RepositoryUrl>
<Authors>$(Authors)</Authors>
<Company>$(Company)</Company>
<Description>$(Description)</Description>
<PackageTags>$(Tags)</PackageTags>
<Version>$(Version)</Version>
<RepositoryUrl>$(RepositoryUrl)</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 31912ec

Please sign in to comment.