Skip to content

Commit a83c742

Browse files
ParthivMangukiyaiamareebjamal
authored andcommitted
fix: Add correct path for release-unsigned.apk according to buildtype (fossasia#2360)
1 parent e8bee97 commit a83c742

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apk-generator/v2/scripts/build_apk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
./gradlew assemble$2Release --info
33
echo "signing"
4-
jarsigner -keystore ${KEYSTORE_PATH} -storepass ${KEYSTORE_PASSWORD} app/build/outputs/apk/app-$2-release-unsigned.apk ${KEY_ALIAS}
4+
jarsigner -keystore ${KEYSTORE_PATH} -storepass ${KEYSTORE_PASSWORD} app/build/outputs/apk/$2/release/app-$2-release-unsigned.apk ${KEY_ALIAS}
55
echo "zipaligning"
6-
${1}/zipalign -v 4 app/build/outputs/apk/app-$2-release-unsigned.apk release.apk
6+
${1}/zipalign -v 4 app/build/outputs/apk/$2/release/app-$2-release-unsigned.apk release.apk
77
echo "done"

0 commit comments

Comments
 (0)