mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: update dependency repo before checkout
At checkout time when a build has no server (e.g. enterprise), the dependency repo that contains the server needs to be extracted too. It happens that this dependency repo is not up to date. With this commit, the dependency repo is updated before its extracttion.
This commit is contained in:
parent
6e57b0954d
commit
286b1a3d30
@ -553,6 +553,7 @@ class runbot_build(models.Model):
|
||||
'Building environment',
|
||||
'Server built based on commit %s from %s' % (commit_oneline, closest_name)
|
||||
)
|
||||
repo._update_git(force=True)
|
||||
repo._git_export(closest_name, build._path())
|
||||
|
||||
# Finally mark all addons to move to openerp/addons
|
||||
|
Loading…
Reference in New Issue
Block a user