summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-27 00:28:30 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-27 00:28:43 (GMT)
commit9d8dc5e85afd1e5dab924589106637b9ec6dee98 (patch)
treea8819a2b314467bfb6d1782cce7cf2eb75c2c373
parentf148f5137a837e76c224b81c5752634d2a5e6e26 (diff)
downloaddefinitions-baserock/pedroalvarez/fix-release-upload-script.tar.gz
Fix release-upload scrpit to use new options in list-artifactsbaserock/pedroalvarez/fix-release-upload-script
Change-Id: Idbdfca36a75b5b0f927e22ba06468cb39c946ba0
-rwxr-xr-xscripts/release-upload3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/release-upload b/scripts/release-upload
index 106a6e4..f8b3337 100755
--- a/scripts/release-upload
+++ b/scripts/release-upload
@@ -230,7 +230,8 @@ class BuildArtifactPublisher(object):
repo = 'file://%s' % os.path.abspath('.')
ref = 'HEAD'
- argv = [self.settings['morph-cmd'], 'list-artifacts', '--quiet', repo, ref]
+ argv = [self.settings['morph-cmd'], 'list-artifacts', '--quiet',
+ '--repo', repo, '--ref', ref]
argv += self.find_system_morphologies(cluster_morphology_path)
output = cliapp.runcmd(argv)
basenames = output.splitlines()