Update build_for for new requirements
This commit is contained in:
parent
c13bd0432f
commit
733adaf111
|
@ -58,6 +58,8 @@ class Project < ActiveRecord::Base
|
||||||
bl.project_version = "latest_#{platform.name}"
|
bl.project_version = "latest_#{platform.name}"
|
||||||
bl.build_requires = false # already set as db default
|
bl.build_requires = false # already set as db default
|
||||||
bl.user = user
|
bl.user = user
|
||||||
|
bl.auto_publish = true # already set as db default
|
||||||
|
bl.include_repos << Platform.find_by_id(platform).repositories.find_by_name('main').id
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue