Skip to content

Commit

Permalink
Add SourceLink (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
satano authored Nov 2, 2020
1 parent f6802cb commit a379042
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Kros.KORM.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F98075A9
EndProject
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "Kros.KORM.VB.UnitTests", "tests\Kros.KORM.VB.UnitTests\Kros.KORM.VB.UnitTests.vbproj", "{67731885-451B-42E2-BD2F-F885AC44432F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B1809F68-5FED-4F94-B754-68AEBAA21637}"
ProjectSection(SolutionItems) = preProject
build-and-test.yml = build-and-test.yml
build-ci.yml = build-ci.yml
build.yml = build.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
4 changes: 3 additions & 1 deletion build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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
17 changes: 16 additions & 1 deletion src/Kros.KORM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;net46</TargetFrameworks>
<Version>4.0.0-alpha.15</Version>
<Version>4.0.0-alpha.16</Version>
<Authors>KROS a. s.</Authors>
<Company>KROS a. s.</Company>
<Description>KORM is fast, easy to use, micro ORM tool (Kros Object Relation Mapper).</Description>
Expand All @@ -16,6 +16,20 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</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>
<PackageIcon>icon.png</PackageIcon>
<PackageId>Kros.KORM</PackageId>
Expand All @@ -29,6 +43,7 @@

<ItemGroup>
<PackageReference Include="Kros.Utils" Version="1.11.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.6.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
Expand Down

0 comments on commit a379042

Please sign in to comment.