From 8997172efb90231f1bd6a27c8273a40783c84508 Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Mon, 2 Nov 2015 09:56:51 -0500 Subject: [PATCH] Bug 1220641 - Push to mirrors prefix is too greedy. r=Callek DONTBUILD --- testing/mozharness/scripts/release/antivirus.py | 2 +- .../mozharness/scripts/release/push-candidate-to-releases.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/mozharness/scripts/release/antivirus.py b/testing/mozharness/scripts/release/antivirus.py index 949fc123aa1a..72349cca6e17 100644 --- a/testing/mozharness/scripts/release/antivirus.py +++ b/testing/mozharness/scripts/release/antivirus.py @@ -108,7 +108,7 @@ class AntivirusScan(BaseScript, VirtualenvMixin): self.dest_dir = self.CACHE_DIR def _get_candidates_prefix(self): - return "pub/{}/candidates/{}-candidates/build{}".format( + return "pub/{}/candidates/{}-candidates/build{}/".format( self.config['product'], self.config["version"], self.config["build_number"] diff --git a/testing/mozharness/scripts/release/push-candidate-to-releases.py b/testing/mozharness/scripts/release/push-candidate-to-releases.py index 5ccc10542feb..1150086c555d 100644 --- a/testing/mozharness/scripts/release/push-candidate-to-releases.py +++ b/testing/mozharness/scripts/release/push-candidate-to-releases.py @@ -97,14 +97,14 @@ class ReleasePusher(BaseScript, VirtualenvMixin): ] def _get_candidates_prefix(self): - return "pub/{}/candidates/{}-candidates/build{}".format( + return "pub/{}/candidates/{}-candidates/build{}/".format( self.config['product'], self.config["version"], self.config["build_number"] ) def _get_releases_prefix(self): - return "pub/{}/releases/{}".format( + return "pub/{}/releases/{}/".format( self.config["product"], self.config["version"] )