Fixing zipalign arguments

This commit is contained in:
Drew Heavner
2019-11-08 17:32:56 -05:00
parent cc14b0e221
commit 0934e7337c
2 changed files with 15 additions and 2 deletions
+8 -1
View File
@@ -28,7 +28,7 @@ export async function signApkFile(
// Align the apk file
const alignedApkFile = apkFile.replace('.apk', '-aligned.apk');
await exec.exec(`"${zipAlign}"`, [
'-v', '-p 4',
'-v', '-p', '4',
apkFile,
alignedApkFile
]);
@@ -48,6 +48,13 @@ export async function signApkFile(
alignedApkFile
]);
// Verify
core.debug("Verifying Signed APK");
await exec.exec(`"${apkSigner}"`, [
'verify',
signedApkFile
]);
return signedApkFile
}