Skip to content

Commit

Permalink
Produce snupkg format for NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Apr 14, 2021
1 parent 0b9e026 commit 4aa4cbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/Tasks/CreateNugetPackages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ namespace DotNetNuke.Build.Tasks
using Cake.Common.IO;
using Cake.Common.Tools.NuGet;
using Cake.Common.Tools.NuGet.Pack;
using Cake.Core;
using Cake.Frosting;

using DotNetNuke.Build;

/// <summary>A cake task to create the platform's NuGet packages.</summary>
Expand All @@ -35,6 +35,7 @@ public override void Run(Context context)
IncludeReferencedProjects = true,
Symbols = true,
Properties = new Dictionary<string, string> { { "Configuration", "Release" } },
ArgumentCustomization = args => args.Append("-SymbolPackageFormat snupkg"),
};

// loop through each nuspec file and create the package
Expand Down

0 comments on commit 4aa4cbd

Please sign in to comment.