Skip to content

Commit

Permalink
Fix SourceLink integration
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Sep 29, 2019
1 parent 5e6919f commit b6b5672
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [vNext]
- Fixed SourceLink integration

## [0.22.1] / 2019-09-21
- Fixed assertion message for missing packages
Expand Down
2 changes: 0 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ from framework in project.GetTargetFrameworks()
.SetProject(Solution)
.SetNoBuild(IsLocalBuild)
.SetConfiguration(Configuration)
.EnableIncludeSymbols()
.SetSymbolPackageFormat(DotNetSymbolPackageFormat.snupkg)
.SetOutputDirectory(OutputDirectory)
.SetVersion(GitVersion.NuGetVersionV2)
.SetPackageReleaseNotes(GetNuGetReleaseNotes(ChangelogFile, GitRepository)));
Expand Down
12 changes: 11 additions & 1 deletion source/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageTags>build automation continuous-integration tools orchestration</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://nuke.build</PackageProjectUrl>
<RepositoryUrl>https://github.com/nuke-build/nuke</RepositoryUrl>
<RepositoryUrl>https://github.com/nuke-build/common</RepositoryUrl>
<PackageIconUrl>https://raw.githubusercontent.com/nuke-build/nuke/master/icon.png</PackageIconUrl>
</PropertyGroup>

Expand All @@ -42,6 +42,16 @@
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

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

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" PrivateAssets="All" />
</ItemGroup>
Expand Down

0 comments on commit b6b5672

Please sign in to comment.