summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index f9560b91..4e588eaa 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -271,10 +271,11 @@ class DeployPlugin(cliapp.Plugin):
# Run the build.
build_ref = build_repos[branch_root]['build-ref']
- artifact = build_command.get_artifact_object(
+ srcpool = build_command.create_source_pool(
build_branch_root,
build_ref,
system_name + '.morph')
+ artifact = build_command.resolve_artifacts(srcpool)
if push:
self.other.delete_remote_build_refs(build_repos)