Skip to content

Commit 1bedef1

Browse files
committed
running release notes only for stable release, windows and apveyor
1 parent 3045541 commit 1bedef1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.cake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,9 @@ Task("Pack")
420420
#region Publish
421421

422422
Task("Release-Notes")
423-
// .WithCriteria(() => parameters.IsRunningOnWindows, "Release notes are generated only on Windows agents.")
424-
// .WithCriteria(() => parameters.IsRunningOnAppVeyor, "Release notes are generated only on release agents.")
425-
// .WithCriteria(() => parameters.IsStableRelease(), "Release notes are generated only for stable releases.")
423+
.WithCriteria(() => parameters.IsRunningOnWindows, "Release notes are generated only on Windows agents.")
424+
.WithCriteria(() => parameters.IsRunningOnAppVeyor, "Release notes are generated only on release agents.")
425+
.WithCriteria(() => parameters.IsStableRelease(), "Release notes are generated only for stable releases.")
426426
.IsDependentOn("Clean")
427427
.Does(() =>
428428
{

0 commit comments

Comments
 (0)