Skip to content

Commit 6ca103d

Browse files
committed
Fix packaging project name filter and upgrade NUKE
1 parent 73cbdac commit 6ca103d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build-support/nuke-build/Build.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ partial class Build : NukeBuild
5454
.Before(Restore)
5555
.Executes(() =>
5656
{
57-
ExamplesDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
5857
SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
5958
TestsDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
6059
EnsureCleanDirectory(ArtifactsDirectory);
@@ -127,7 +126,7 @@ partial class Build : NukeBuild
127126
.Executes(() =>
128127
{
129128
var packTargets = GetActiveProjects()
130-
.Where(x => !x.Name.Contains(".Test"));
129+
.Where(x => !x.Name.EndsWith(".Tests"));
131130

132131
var version = TagVersion;
133132
var suffix = "";

build-support/nuke-build/_build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Nuke.Common" Version="5.2.1" />
14+
<PackageReference Include="Nuke.Common" Version="5.3.0" />
1515
</ItemGroup>
1616

1717
</Project>

0 commit comments

Comments
 (0)