Skip to content

Commit 3254097

Browse files
committed
#2 - Update ShouldPublishNuget conditions
1 parent 4a195c7 commit 3254097

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

build.cake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,5 @@ public class BuildParameters
311311

312312
public bool ShouldPublishNuGet => !string.IsNullOrWhiteSpace(NuGetApiKey)
313313
&& !string.IsNullOrWhiteSpace(NuGetFeed)
314-
&& IsMasterBranch
315-
&& IsHotFixBranch;
314+
&& (IsMasterBranch || IsHotFixBranch);
316315
}

0 commit comments

Comments
 (0)