Should be done.
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
aminecmi 2022-09-13 21:47:23 +02:00
parent a2f4eac482
commit 73b391cc72

View File

@ -8,10 +8,9 @@ steps:
commands:
- ./gradlew :androidApp:assembleGithubConfigRelease -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false
- wget https://amine-louveau.fr/key
- ls -la $ANDROID_HOME/build-tools
- ls -la $ANDROID_HOME/sdk/build-tools
- $ANDROID_HOME/sdk/build-tools/version/zipalign -v 4 androidApp/build/outputs/apk/githubConfig/release/androidApp-githubConfig-release-unsigned.apk androidApp/build/outputs/apk/githubConfig/release/android-prod-released-signed.apk
- $ANDROID_HOME/sdk/build-tools/version/apksigner verify androidApp/build/outputs/apk/githubConfig/release/android-prod-released-signed.apk
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./key -storepass $YOUR_KEYSTORE_PASSWORD androidApp/build/outputs/apk/githubConfig/release/androidApp-githubConfig-release-unsigned.apk $YOUR_KEY_ALIAS
- $ANDROID_HOME/build-tools/31.0.0/zipalign -v 4 androidApp/build/outputs/apk/githubConfig/release/androidApp-githubConfig-release-unsigned.apk androidApp/build/outputs/apk/githubConfig/release/android-prod-released-signed.apk
- $ANDROID_HOME/build-tools/31.0.0/apksigner verify androidApp/build/outputs/apk/githubConfig/release/android-prod-released-signed.apk
environment:
YOUR_KEYSTORE_PASSWORD:
from_secret: keyPass