Skip to content

Commit

Permalink
Add SourceLink (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
satano authored Nov 3, 2020
1 parent b5a6008 commit 438c4b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ steps:
- task: CopyFiles@2
displayName: 'Copy package files to staging directory'
inputs:
Contents: '**/*.nupkg'
Contents: |
**/*.nupkg
**/*.snupkg
TargetFolder: '$(build.artifactStagingDirectory)'
FlattenFolders: true

Expand Down
18 changes: 17 additions & 1 deletion src/Kros.KORM.Extensions.Asp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<Company>KROS a. s.</Company>
<Version>1.1.0-alpha.6</Version>
<Version>1.1.0-alpha.7</Version>
<Authors>KROS a. s.</Authors>
<Title>Kros.KORM.Extensions.Asp</Title>
<Description>Extensions for Kros.KORM library for ASP.NET Core projects.</Description>
Expand All @@ -15,6 +15,20 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

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

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

<PropertyGroup>
<PackageId>Kros.KORM.Extensions.Asp</PackageId>
<PackageProjectUrl>https://github.com/Kros-sk/Kros.KORM.Extensions.Asp</PackageProjectUrl>
Expand All @@ -37,6 +51,7 @@
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="System.Text.Json" Version="4.7.0" />
</ItemGroup>

Expand All @@ -54,4 +69,5 @@
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

</Project>

0 comments on commit 438c4b5

Please sign in to comment.