Skip to content

Commit 23a7518

Browse files
author
Thomas Harold
committed
Use NuGet "snupkg" format for symbols package
https://docs.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg Symbol package publishing is only supported by the NuGet V3 API. NuGet.org supports its own symbols server repository and only accepts the new symbol package format - .snupkg. cake-build/cake#2362 cake-build/cake#3331
1 parent 65768fd commit 23a7518

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-net5.cake

+2-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ Task("Package")
328328
MSBuildSettings = new DotNetCoreMSBuildSettings().SetVersion(packageVersion),
329329
NoBuild = true,
330330
OutputDirectory = artifactsDir,
331-
IncludeSymbols = true
331+
IncludeSymbols = true,
332+
SymbolPackageFormat = "snupkg", // https://github.com/cake-build/cake/pull/3331
332333
});
333334
}
334335
}

0 commit comments

Comments
 (0)