Skip to content

Commit

Permalink
fix(deployment): correctly deploy api package (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler authored Mar 25, 2021
1 parent c344500 commit 93491b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -84,7 +81,7 @@ class Build : NukeBuild
.SetVersion(Version)
.SetPackageReleaseNotes(PackageReleaseNotes)
.SetOutputDirectory(ArtifactsDirectory)
.SetProject(MainProject)));
.SetProject(Solution)));

Target Publish => _ => _
.Requires(
Expand Down
1 change: 1 addition & 0 deletions tests/Zitadel.Api.Access.Dev/Zitadel.Api.Access.Dev.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 93491b5

Please sign in to comment.