Skip to content

Commit

Permalink
asp
Browse files Browse the repository at this point in the history
  • Loading branch information
PTKu committed Nov 27, 2024
1 parent 1fff5e0 commit f878944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public sealed class TemplatesUpdateAndBuildTask : FrostingTask<BuildContext>
{
public override void Run(BuildContext context)
{
if (!context.BuildParameters.DoPublish)
if (!context.BuildParameters.DoPublish || !Helpers.CanReleaseInternal() || !Helpers.CanReleasePublic())
{
context.Log.Warning($"Skipping template package build.");
return;
Expand Down

0 comments on commit f878944

Please sign in to comment.