diff --git a/.drone.yml b/.drone.yml index 8c6e5a8..e68f572 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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