Sign APK and update version
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Michel Roux 2021-08-12 11:31:11 +02:00
parent 8acbb96726
commit 7fce6bd62b
3 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ steps:
- curl -sSL -u "$USERNAME:$PASSWORD" -o $KEYFILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$KEYFILE
- sh gradlew build bundle
- jarsigner -verbose -keystore $KEYFILE -storepass $KEYPASS -keypass $KEYPASS app/build/outputs/bundle/release/app-release.aab $KEYALIAS
- apksigner sign -v --ks $KEYFILE --ks-key-alias $KEYALIAS --ks-pass pass:$KEYPASS --key-pass pass:$KEYPASS app/build/outputs/apk/debug/app-debug.apk
environment:
USERNAME:
from_secret: nextcloud_user

View File

@ -8,7 +8,7 @@ Provide a useful shortcut to set an image to your Android's wallpaper launcher a
## Download
You can find auto generated debug apk on the [Releases](https://git.crystalyx.net/Xefir/SetAsWallpaper/releases) page.
You can find auto generated debug apk on the [Releases](https://git.crystalyx.net/Xefir/SetAsWallpaper/releases) page or on [Google Play](https://play.google.com/store/apps/details?id=net.crystalyx.setaswallpaper).
## Build

View File

@ -10,8 +10,8 @@ android {
applicationId "net.crystalyx.setaswallpaper"
minSdkVersion 14
targetSdkVersion 30
versionCode 3
versionName "2.1"
versionCode 4
versionName "2.2"
}
buildTypes {