Skip to content

Commit

Permalink
Merge pull request #20 from thomhurst/feature/include-source
Browse files Browse the repository at this point in the history
Include Source
  • Loading branch information
thomhurst authored Nov 8, 2023
2 parents 73820c6 + b3dbe4b commit 33a95c0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion EnumerableAsyncProcessor.Pipeline/Modules/PackProjectsModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,15 @@ public class PackProjectsModule : Module<List<CommandResult>>
var projectFiles = context.Git().RootDirectory!.GetFiles(f => GetProjectsPredicate(f, context));
foreach (var projectFile in projectFiles)
{
results.Add(await context.DotNet().Pack(new DotNetPackOptions { TargetPath = projectFile.Path, Configuration = Configuration.Release, Properties = new[] { $"PackageVersion={packageVersion.Value}", $"Version={packageVersion.Value}", } }, cancellationToken));
results.Add(await context.DotNet().Pack(new DotNetPackOptions {
TargetPath = projectFile.Path,
Configuration = Configuration.Release,
Properties = new[]
{
$"PackageVersion={packageVersion.Value}", $"Version={packageVersion.Value}",
},
IncludeSource = true
}, cancellationToken));
}

return results;
Expand Down

0 comments on commit 33a95c0

Please sign in to comment.