mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
fix: relative keystore file location for gradle
This commit is contained in:
@@ -15,12 +15,14 @@
|
||||
|
||||
require 'json'
|
||||
require 'base64'
|
||||
require 'pathname'
|
||||
|
||||
default_platform(:android)
|
||||
|
||||
current_version_code = 1
|
||||
playstore_track = "internal"
|
||||
package_json = JSON.parse(File.read('../../package.json'))
|
||||
keystorePath = Pathname.getwd.parent + "../../playstore.keystore"
|
||||
|
||||
platform :android do
|
||||
|
||||
@@ -52,7 +54,7 @@ platform :android do
|
||||
build_type: "Release",
|
||||
print_command: false,
|
||||
properties: {
|
||||
"android.injected.signing.store.file" => "playstore.keystore",
|
||||
"android.injected.signing.store.file" => keystorePath.to_s,
|
||||
"android.injected.signing.store.password" => ENV['ANDROID_KEYSTORE_PASSWORD'],
|
||||
"android.injected.signing.key.alias" => ENV['ANDROID_KEYSTORE_KEY_ALIAS'],
|
||||
"android.injected.signing.key.password" => ENV['ANDROID_KEYSTORE_KEY_PASSWORD'],
|
||||
|
||||
Reference in New Issue
Block a user