From e599bf132869c16ec9ebf17d45120b8915941692 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 19 Aug 2014 09:59:44 +0000 Subject: 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. --- scripts/release-upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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] -- cgit v1.2.1