Skip to content

Commit

Permalink
Fix config release version on branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Aug 30, 2023
1 parent df5b9da commit cb667eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ class Build : NukeBuild
.Requires(() => GitHubToken)
.Requires(() => GitRepository)
.Requires(() => GitVersion)
// .OnlyWhenStatic(() => GitRepository.IsOnMainOrMasterBranch())
.OnlyWhenStatic(() => IsLocalBuild) // Just run this on the server
.OnlyWhenStatic(() => GitRepository.IsOnMainOrMasterBranch())
.OnlyWhenStatic(() => IsServerBuild) // Just run this on the server
.TriggeredBy(CreateInstaller)
.Executes(() =>
{
Expand Down

0 comments on commit cb667eb

Please sign in to comment.