summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-07-17 10:35:30 (GMT)
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-17 10:38:47 (GMT)
commit7ef0e8750194df61127d365eefd3707f576e1bab (patch)
tree65af5571393a31799c856c8684ef38de90a335a7
parentc29ddde6115b6086ce0b2a46822fdad30b4d5aa4 (diff)
downloaddefinitions-7ef0e8750194df61127d365eefd3707f576e1bab.tar.gz
Fix some silly mistakes
-rwxr-xr-xscripts/release-build6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/release-build b/scripts/release-build
index b3ad364..299ac3a 100755
--- a/scripts/release-build
+++ b/scripts/release-build
@@ -142,16 +142,16 @@ class ReleaseApp(cliapp.Application):
filename = '%s-%s' % (version_label, basename)
if os.path.exists(filename):
- status('Reusing existing deployment of %s', filename)
+ self.output.write('Reusing existing deployment of %s\n' % filename)
else:
- status('Creating %s from release.morph', filename)
+ self.output.write('Creating %s from release.morph\n' % filename)
self.deploy_single_image(cluster_path, name, filename, version_label)
def deploy_single_image(self, cluster_path, name, location, version_label):
deploy_command = [
'morph', 'deploy', cluster_path, name,
'--trove-host=%s' % self.settings['trove-host'],
- '%s.location=%s' % (name, filename),
+ '%s.location=%s' % (name, location),
'%s.VERSION_LABEL=%s' % (name, version_label)
]