From 93491b54fb3aa18de6d173d6dfa657c9dad871ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BChler?= Date: Thu, 25 Mar 2021 13:47:17 +0100 Subject: [PATCH] fix(deployment): correctly deploy api package (#34) --- build/Build.cs | 5 +---- tests/Zitadel.Api.Access.Dev/Zitadel.Api.Access.Dev.csproj | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index 5533812b..5a3d22db 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -34,9 +34,6 @@ class Build : NukeBuild [Solution] readonly Solution Solution; - Project MainProject => - Solution.AllProjects.First(p => p.Name == "Zitadel" && p.SolutionFolder.Name == "src"); - AbsolutePath SourceDirectory => RootDirectory / "src"; AbsolutePath TestsDirectory => RootDirectory / "tests"; AbsolutePath ArtifactsDirectory => RootDirectory / "artifacts"; @@ -84,7 +81,7 @@ class Build : NukeBuild .SetVersion(Version) .SetPackageReleaseNotes(PackageReleaseNotes) .SetOutputDirectory(ArtifactsDirectory) - .SetProject(MainProject))); + .SetProject(Solution))); Target Publish => _ => _ .Requires( diff --git a/tests/Zitadel.Api.Access.Dev/Zitadel.Api.Access.Dev.csproj b/tests/Zitadel.Api.Access.Dev/Zitadel.Api.Access.Dev.csproj index bd3d7a16..3cc3720f 100644 --- a/tests/Zitadel.Api.Access.Dev/Zitadel.Api.Access.Dev.csproj +++ b/tests/Zitadel.Api.Access.Dev/Zitadel.Api.Access.Dev.csproj @@ -3,6 +3,7 @@ Exe net5.0 + false