Skip to content

Commit

Permalink
Merge pull request #8728 from abpframework/cli-change-cms-kit-logic
Browse files Browse the repository at this point in the history
Cli: always remove cms-kit when no public-web-site
  • Loading branch information
hikalkan authored Apr 21, 2021
2 parents 8a370b8 + e72dd62 commit 6610012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private void ConfigurePublicWebSite(ProjectBuildContext context, List<ProjectBui
steps.Add(new ChangePublicAuthPortStep());
}

if (!context.BuildArgs.ExtraProperties.ContainsKey("without-cms-kit") && IsCmsKitSupportedForTargetVersion(context))
if (context.BuildArgs.PublicWebSite && !context.BuildArgs.ExtraProperties.ContainsKey("without-cms-kit") && IsCmsKitSupportedForTargetVersion(context))
{
context.Symbols.Add("CMS-KIT");
}
Expand Down

0 comments on commit 6610012

Please sign in to comment.