summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-08-19 09:59:44 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-19 15:49:03 +0000
commite599bf132869c16ec9ebf17d45120b8915941692 (patch)
tree1fd29142629903c801376b8fe1049e8890e03a20
parent2e69fdc0db5c100222b3f8085d871c0a89444c8c (diff)
downloadinfrastructure-e599bf132869c16ec9ebf17d45120b8915941692.tar.gz
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.
-rwxr-xr-xscripts/release-upload2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release-upload b/scripts/release-upload
index d7ba8705..273f9ed5 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]