Browse Source

Update AGAIN build pipeline

master
blallo 1 year ago
parent
commit
2d00547a44
Signed by: blallo GPG Key ID: 0CBE577C9B72DC3F
  1. 4
      .drone.yml
  2. 2
      sign.sh

4
.drone.yml

@ -15,7 +15,7 @@ steps:
pull: if-not-exists
image: leophys/fenix-builder:0.5
commands:
- /src/gradlew --stacktrace assembleGeckoNightly
- /src/gradlew --stacktrace app:assemble
- /src/sign.sh
environment:
KEY_PASSWORD:
@ -111,6 +111,6 @@ depends_on:
---
kind: signature
hmac: ac9c63a1a1d65224152568ff9f2e1c7b9f5e3b44870da5518583fa36cf879a97
hmac: 75d28c4234d1faa970a1fa4c54917bad4ba57122389cad5ae8f3b3a600d16aef
...

2
sign.sh

@ -2,7 +2,7 @@
set -ex
for APK in /src/app/build/outputs/apk/geckoNightly/fenixProduction/*apk
for APK in /src/app/build/outputs/apk/nightly/*apk
do
echo "${KEY_PASSWORD}"|${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION}/apksigner sign --ks "${KEY_PATH}" "${APK}"
APK_NAME=$(basename ${APK})

Loading…
Cancel
Save