Skip to content

Commit 3a1ede9

Browse files
committed
make sure pdbs are not present in the .nuget package
otherwise they will appear as hard dependencies for studio libgit2#111
1 parent 515c219 commit 3a1ede9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildpackage.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ $buildDate = (Get-Date).ToUniversalTime().ToString("yyyyMMddHHmmss")
88
$versionSuffix = ""
99
if ($pre.IsPresent) { $versionSuffix = "-pre$BuildDate" }
1010

11+
Get-ChildItem -Path "nuget.package\runtimes" -Recurse -Filter *.pdb | ForEach-Object {
12+
Remove-Item $_.FullName -Force
13+
}
1114
.\nuget.exe Pack nuget.package\NativeBinaries.nuspec -Version $version$versionSuffix -NoPackageAnalysis

0 commit comments

Comments
 (0)