diff --git a/appveyor.yml b/appveyor.yml index 2b2d7e0936..553d652ebf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -72,4 +72,4 @@ - path: artifacts/* - path: '**/bin/*' - path: src/ReactiveUI.Events/Events_*.cs - test: off + test: off \ No newline at end of file diff --git a/build.cake b/build.cake index be51369b34..66aa28a4d3 100644 --- a/build.cake +++ b/build.cake @@ -38,6 +38,7 @@ var isRunningOnAppVeyor = AppVeyor.IsRunningOnAppVeyor; var isPullRequest = AppVeyor.Environment.PullRequest.IsPullRequest; var isRepository = StringComparer.OrdinalIgnoreCase.Equals("reactiveui/reactiveui", AppVeyor.Environment.Repository.Name); +var isDevelopBranch = StringComparer.OrdinalIgnoreCase.Equals("develop", AppVeyor.Environment.Repository.Branch); var isReleaseBranch = StringComparer.OrdinalIgnoreCase.Equals("master", AppVeyor.Environment.Repository.Branch); var isTagged = AppVeyor.Environment.Repository.Tag.IsTag; @@ -329,6 +330,7 @@ Task("PublishPackages") .WithCriteria(() => !local) .WithCriteria(() => !isPullRequest) .WithCriteria(() => isRepository) + .WithCriteria(() => isDevelopBranch || isReleaseBranch) .Does (() => {