diff --git a/tools/taskcluster/sign_apk.py b/tools/taskcluster/sign_apk.py index 660d2513a..c8c888e3f 100644 --- a/tools/taskcluster/sign_apk.py +++ b/tools/taskcluster/sign_apk.py @@ -39,9 +39,9 @@ def main(name, argv): # Sign APKs for apk in glob.glob(build_output_path + "/*/*/*-aligned.apk"): - target = apk.replace('unsigned', 'signed') + target = apk.replace('-unsigned-', '-signed-') if not release: - target = target.replace('release', 'staging') + target = target.replace('-release-', '-staging-') print "Signing", apk print "Target ", target print subprocess.check_output([