Issue #10: Print archive path and use relative syntax.

Sebastian Kaspari 6 years ago
parent c803c294a4
commit 4515e04889

@ -79,7 +79,7 @@ tasks:
&& python automation/taskcluster/get-secret.py -s project/fenix/preview-key-store -k keyStoreFile -f .store --decode
&& python automation/taskcluster/get-secret.py -s project/fenix/preview-key-store -k keyStorePassword -f .store_token
&& python automation/taskcluster/get-secret.py -s project/fenix/preview-key-store -k keyPassword -f .key_token
&& python automation/taskcluster/sign-builds.py --zipalign --path ./app/build/outputs/apk --store .store --store-token .store_token --key-alias preview-key --key-token .key_token --archive preview
&& python automation/taskcluster/sign-builds.py --zipalign --path ./app/build/outputs/apk --store .store --store-token .store_token --key-alias preview-key --key-token .key_token --archive ./preview
features:
taskclusterProxy: true
artifacts:

@ -49,8 +49,10 @@ def archive(path, archive):
print "Verifying", apk
print subprocess.check_output(['apksigner', 'verify', apk])
destination = archive + "/" + os.path.basename(apk)
print "Archiving", apk
os.rename(apk, archive + "/" + os.path.basename(apk))
print " `->", destination
os.rename(apk, destination)
def main():
parser = argparse.ArgumentParser(

Loading…
Cancel
Save