Skip to content

Commit

Permalink
Fix issue when publishing code (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaba authored Jan 24, 2022
1 parent 9dba190 commit 69b530a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ private AbsolutePath[] GetDockerProjects()
var dockfiles = GetDockerProjects();
foreach(var dockfile in dockfiles)
{
var (path, projectName) = ($"{Directory.GetParent(dockfile).FullName}", $"{Directory.GetParent(dockfile).Name}".ToLower());
var project = Path.Combine(path, $"{projectName}.csproj");
Information(dockfile.Parent.ToString());
var project = dockfile.Parent.GlobFiles("*.csproj").First();
DotNetPublish(s => s
.SetProject(project)
.SetConfiguration(Configuration.Release));
Expand Down

0 comments on commit 69b530a

Please sign in to comment.