Skip to content

Commit

Permalink
Ensure release announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Apr 5, 2019
1 parent a4cd388 commit dd3f285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Maintainers of NUKE.
// Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE

Expand Down Expand Up @@ -184,6 +184,7 @@ from framework in project.GetTargetFrameworks()

Target Announce => _ => _
.TriggeredBy(Publish)
.AssuredAfterFailure()
.OnlyWhenStatic(() => GitRepository.IsOnMasterBranch())
.Executes(() =>
{
Expand Down

0 comments on commit dd3f285

Please sign in to comment.