Merge pull request #17 from abf/rosa-build:16-fix_mass_build_arches
[#16] Fix ignoring selection of architectures for Mass Build
This commit is contained in:
commit
96698b4195
|
@ -28,7 +28,7 @@ class MassBuild < ActiveRecord::Base
|
|||
|
||||
def build_all
|
||||
# later with resque
|
||||
arches_list = arches ? Arch.where(:id => arches) : Arch.all
|
||||
arches_list = arch_names ? Arch.where(:name => arch_names.split(', ')) : Arch.all
|
||||
auto_publish ||= false
|
||||
|
||||
projects_list.lines.each do |name|
|
||||
|
|
Loading…
Reference in New Issue