Permalink
Browse files

bug: pull-requests were being published to the myget feed (#1194)

  • Loading branch information...
1 parent 902472c commit 72b665edd5fe63af0396a61df7ba272cbc468a7b @ghuntley ghuntley committed on GitHub Nov 7, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 appveyor.yml
  2. +2 −0 build.cake
View
@@ -72,4 +72,4 @@
- path: artifacts/*
- path: '**/bin/*'
- path: src/ReactiveUI.Events/Events_*.cs
- test: off
+ test: off
View
@@ -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 (() =>
{

0 comments on commit 72b665e

Please sign in to comment.