Fixed issue.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
aminecmi 2022-09-13 21:29:12 +02:00
parent e81cf4d12e
commit 1416be9f2c

View File

@ -8,7 +8,7 @@ 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
- 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
- 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/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
environment: