Skip to content

Commit 13d89ef

Browse files
authored
CSHARP-3994: Consider adding EmbedUntrackedSources for a build process (#1272)
1 parent 830b83a commit 13d89ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

evergreen/build-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ fi
99
echo Creating nuget package...
1010

1111
dotnet clean ./CSharpDriver.sln
12-
dotnet pack ./CSharpDriver.sln -o ./artifacts/nuget -c Release -p:Version="$PACKAGE_VERSION" --include-symbols -p:SymbolPackageFormat=snupkg
12+
dotnet pack ./CSharpDriver.sln -o ./artifacts/nuget -c Release -p:Version="$PACKAGE_VERSION" --include-symbols -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<IncludeSymbols>true</IncludeSymbols>
2525
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2626
<PublishRepositoryUrl>true</PublishRepositoryUrl>
27+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2728
</PropertyGroup>
2829

2930
<PropertyGroup Condition="'$(Version)'==''">

0 commit comments

Comments
 (0)