summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-09-07 16:57:42 -0300
committerTorsten Grote <t@grobox.de>2020-09-08 11:11:00 -0300
commita6332a0c02e3924ca68dca957ecc153a554c3deb (patch)
treebf6e794390ab8e12762818bda6a6111c2fdee52a
parent663d264bf18d4af84553d969fd85e782d94faa41 (diff)
downloadtaler-android-a6332a0c02e3924ca68dca957ecc153a554c3deb.tar.gz
taler-android-a6332a0c02e3924ca68dca957ecc153a554c3deb.tar.bz2
taler-android-a6332a0c02e3924ca68dca957ecc153a554c3deb.zip
[wallet] prepare play store upload
-rw-r--r--wallet/.gitignore1
-rw-r--r--wallet/build.gradle2
-rw-r--r--wallet/fastlane/Fastfile21
3 files changed, 21 insertions, 3 deletions
diff --git a/wallet/.gitignore b/wallet/.gitignore
index 094515c..fa4dd35 100644
--- a/wallet/.gitignore
+++ b/wallet/.gitignore
@@ -1,2 +1,3 @@
/build
+/.bundle
/src/main/assets/taler-wallet-android-*.js
diff --git a/wallet/build.gradle b/wallet/build.gradle
index 0e04d17..0ca1636 100644
--- a/wallet/build.gradle
+++ b/wallet/build.gradle
@@ -46,7 +46,7 @@ android {
applicationId "net.taler.wallet"
minSdkVersion 24
targetSdkVersion 29
- versionCode 6
+ versionCode 8
versionName "0.7.1.dev.28"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "WALLET_CORE_VERSION", "\"$walletCoreVersion\""
diff --git a/wallet/fastlane/Fastfile b/wallet/fastlane/Fastfile
index 559acac..3c2f8cd 100644
--- a/wallet/fastlane/Fastfile
+++ b/wallet/fastlane/Fastfile
@@ -25,8 +25,25 @@ platform :android do
desc "Deploy a new version to the Google Play beta track"
lane :deploy do
- gradle(task: "clean assembleRelease", gradle_path: '../gradlew')
- upload_to_play_store(track: 'beta', skip_upload_images: 'true', skip_upload_screenshots: 'true', validate_only: 'true')
+ gradle(
+ task: "bundle",
+ build_type: "Release",
+ flavor: "google",
+ gradle_path: '../gradlew',
+ properties: {
+ "android.injected.signing.store.file" => ENV["TALER_KEYSTORE_PATH"],
+ "android.injected.signing.store.password" => ENV["TALER_KEYSTORE_PASS"],
+ "android.injected.signing.key.alias" => ENV["TALER_KEYSTORE_WALLET_ALIAS"],
+ "android.injected.signing.key.password" => ENV["TALER_KEYSTORE_WALLET_PASS"],
+ }
+ )
+ upload_to_play_store(
+ track: 'beta',
+ skip_upload_images: 'true',
+ skip_upload_screenshots: 'true',
+ skip_upload_apk: 'true', # This is an app bundle, so APK is not possible
+ validate_only: 'true'
+ )
end
end