path: root/scripts
diff options
authorRichard Maw <>2014-08-19 09:59:44 (GMT)
committerRichard Maw <>2014-08-19 15:49:03 (GMT)
commite599bf132869c16ec9ebf17d45120b8915941692 (patch)
tree1fd29142629903c801376b8fe1049e8890e03a20 /scripts
parent2e69fdc0db5c100222b3f8085d871c0a89444c8c (diff)
Use file: URI for list-artifacts in release-upload
This requires the script be run in the top of the definitions repository, but will actually try to upload the changes that were tested, rather than the current HEAD.
Diffstat (limited to 'scripts')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release-upload b/scripts/release-upload
index d7ba870..273f9ed 100755
--- a/scripts/release-upload
+++ b/scripts/release-upload
@@ -227,7 +227,7 @@ class BuildArtifactPublisher(object):
# FIXME: These are hardcoded for simplicity. They would be
# possible to deduce automatically from the workspace, but
# that can happen later.
- repo = 'baserock:baserock/definitions'
+ repo = 'file://%s' % os.path.abspath('.')
ref = 'HEAD'
argv = [self.settings['morph-cmd'], 'list-artifacts', '--quiet', repo, ref]