Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix taskcluster builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Randall Barker committed Sep 25, 2018
1 parent 2403029 commit 068abae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/taskcluster/sign_apk.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ def main(name, argv):

# Sign APKs
for apk in glob.glob(build_output_path + "/*/*/*-aligned.apk"):
print "Signing", apk
target = apk.replace('unsigned', 'signed')
if not release:
apk = apk.replace('release', 'staging')
target = target.replace('release', 'staging')
print "Signing", apk
print "Target ", target
print subprocess.check_output([
"curl",
"-F", "input=@" + apk,
"-o", apk.replace('unsigned', 'signed'),
"-o", target,
"-H", "Authorization: " + token,
sign_url])

Expand Down

0 comments on commit 068abae

Please sign in to comment.