From 644345306761f1ef632a7d4c3c1f5612bf448ebd Mon Sep 17 00:00:00 2001 From: Eddy Nakamura Date: Tue, 10 Nov 2020 15:24:06 -0300 Subject: [PATCH] Enable Github sourcelink (#2148) * Enable Github sourcelink * adding deterministic * updating buildprops * fixing * testing nuspec * trying to fix base path * changing to reporoot * rollback changes * removing unstable bypass * updating ado-build script * removing property from sarif.csproj and updating releasehistory --- ado-build.yml | 2 +- src/ReleaseHistory.md | 1 + src/Sarif/Sarif.csproj | 2 +- src/build.props | 27 ++++++++++++++++++++++----- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/ado-build.yml b/ado-build.yml index d807edc88..7f6132193 100644 --- a/ado-build.yml +++ b/ado-build.yml @@ -1,5 +1,5 @@ pr: -- '*' +- 'master' pool: vmImage: 'windows-latest' diff --git a/src/ReleaseHistory.md b/src/ReleaseHistory.md index 32c4d729b..330c35c9e 100644 --- a/src/ReleaseHistory.md +++ b/src/ReleaseHistory.md @@ -2,6 +2,7 @@ * FEATURE: PACKAGE BREAKING: Upgrade from .NET Framework 4.5 to .NET Framework 4.5.2 [#2135](https://github.com/microsoft/sarif-sdk/pull/2135) * FEATURE: Multitool SARIF merge accepts `threads` parameter [#2026](https://github.com/microsoft/sarif-sdk/pull/2026) +* FEATURE: Enable GitHub SourceLink to SDK project [#2148](https://github.com/microsoft/sarif-sdk/pull/2148) ## **v2.3.7** [Sdk](https://www.nuget.org/packages/Sarif.Sdk/2.3.7) | [Driver](https://www.nuget.org/packages/Sarif.Driver/2.3.7) | [Converters](https://www.nuget.org/packages/Sarif.Converters/2.3.7) | [Multitool](https://www.nuget.org/packages/Sarif.Multitool/2.3.7) | [Multitool Library](https://www.nuget.org/packages/Sarif.Multitool.Library/2.3.7) * DEPENDENCY BREAKING: SARIF now requires Newtonsoft.JSON 11.0.2 (rather than 10.0.3) diff --git a/src/Sarif/Sarif.csproj b/src/Sarif/Sarif.csproj index 8c9a344ad..d1a220f88 100644 --- a/src/Sarif/Sarif.csproj +++ b/src/Sarif/Sarif.csproj @@ -32,6 +32,7 @@ + @@ -96,5 +97,4 @@ - diff --git a/src/build.props b/src/build.props index fd35e5c2d..f5d7c912b 100644 --- a/src/build.props +++ b/src/build.props @@ -11,7 +11,7 @@ Microsoft Microsoft SARIF SDK © Microsoft Corporation. All rights reserved. - + + 2.1.0-rtm.5 - + 2.1.0 @@ -48,7 +48,7 @@ prompt 4 true - true + true NU5105 + + true + true + true + snupkg + git + https://github.com/Microsoft/sarif-sdk @@ -106,4 +113,14 @@ + + true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + true + + + + + +