Update build_for for new requirements

This commit is contained in:
Vladimir Sharshov 2012-01-23 20:19:10 +04:00
parent c13bd0432f
commit 733adaf111
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ class Project < ActiveRecord::Base
bl.project_version = "latest_#{platform.name}"
bl.build_requires = false # already set as db default
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