Skip to content

Commit

Permalink
Update generation of nuke-global.sln
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Apr 17, 2023
1 parent 1e3927b commit 0afc800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/Build.GlobalSolution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tools.GitHub;
using Nuke.Common.Utilities;
using Nuke.Utilities.Text.Yaml;
using static Nuke.Common.ControlFlow;
using static Nuke.Common.IO.FileSystemTasks;
Expand Down Expand Up @@ -58,7 +59,7 @@ IEnumerable<GitRepository> ExternalRepositories
var global = CreateSolution(
solutionFile: GlobalSolution,
solutions: new[] { Solution }.Concat(ExternalSolutions),
folderNameProvider: x => x == Solution ? null : x.Name);
folderNameProvider: x => x.Name.TrimStart("nuke-"));
global.Save();

if ((RootDirectory / $"{Solution.FileName}.DotSettings").FileExists())
Expand Down

0 comments on commit 0afc800

Please sign in to comment.