Skip to content
Snippets Groups Projects
Commit d8943f87 authored by Taras's avatar Taras
Browse files

Merge branch 'feature/fastlane' into main

parents 4d8fbc8f aaa08c19
No related branches found
No related tags found
No related merge requests found
...@@ -89,4 +89,6 @@ lint/tmp/ ...@@ -89,4 +89,6 @@ lint/tmp/
.idea/ .idea/
app/circuli_key.jks circuli_key.jks
signing.properties
...@@ -7,8 +7,10 @@ cache: ...@@ -7,8 +7,10 @@ cache:
before_script: before_script:
- chmod +x ./gradlew - chmod +x ./gradlew
- echo "$SIGNING_CONFIG" > local.properties - echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
- echo "$SIGNING_KEY_BASE64" | base64 -d > android/app/circuli_key.jks - echo "KEY_PATH=circuli_key.jks" > signing.properties
- echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
- echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
stages: stages:
- release - release
......
...@@ -11,7 +11,7 @@ android { ...@@ -11,7 +11,7 @@ android {
applicationId "org.futo.circles" applicationId "org.futo.circles"
minSdk rootProject.ext.min_sdk_version minSdk rootProject.ext.min_sdk_version
targetSdk rootProject.ext.sdk_version targetSdk rootProject.ext.sdk_version
versionCode 25 versionCode 26
versionName "1.0.16" versionName "1.0.16"
archivesBaseName = "circles-v${versionName}" archivesBaseName = "circles-v${versionName}"
...@@ -25,10 +25,10 @@ android { ...@@ -25,10 +25,10 @@ android {
signingConfigs{ signingConfigs{
release { release {
Properties properties = new Properties() Properties properties = new Properties()
if (rootProject.file("local.properties").exists()) { if (rootProject.file("signing.properties").exists()) {
properties.load(rootProject.file("local.properties").newDataInputStream()) properties.load(rootProject.file("signing.properties").newDataInputStream())
} }
storeFile file("circuli_key.jks") storeFile file(properties.getProperty("KEY_PATH"))
storePassword properties.getProperty("KEY_PASSWORD") storePassword properties.getProperty("KEY_PASSWORD")
keyAlias properties.getProperty("ALIAS_NAME") keyAlias properties.getProperty("ALIAS_NAME")
keyPassword properties.getProperty("KEY_PASSWORD") keyPassword properties.getProperty("KEY_PASSWORD")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment