From 03801d9347bbefc655ed860d3112ac2918d82c5c Mon Sep 17 00:00:00 2001 From: Anil Maurya Date: Thu, 6 Aug 2015 15:54:23 +0530 Subject: [PATCH] Automatic activation of build should not depend on branch - Staging server deploys staging branch and automatic activation will not work if automatic activation only work for master branch --- app/models/front_end_builds/build.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/front_end_builds/build.rb b/app/models/front_end_builds/build.rb index 99b72cc..171b95e 100644 --- a/app/models/front_end_builds/build.rb +++ b/app/models/front_end_builds/build.rb @@ -88,7 +88,7 @@ def setup! self.fetched = true save - if automatic_activation? && master? + if automatic_activation? activate! end end