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/
.idea/
app/circuli_key.jks
circuli_key.jks
signing.properties
......@@ -7,8 +7,10 @@ cache:
before_script:
- chmod +x ./gradlew
- echo "$SIGNING_CONFIG" > local.properties
- echo "$SIGNING_KEY_BASE64" | base64 -d > android/app/circuli_key.jks
- echo $SIGNING_KEY_BASE64 | base64 -d > 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:
- release
......
......@@ -11,7 +11,7 @@ android {
applicationId "org.futo.circles"
minSdk rootProject.ext.min_sdk_version
targetSdk rootProject.ext.sdk_version
versionCode 25
versionCode 26
versionName "1.0.16"
archivesBaseName = "circles-v${versionName}"
......@@ -25,10 +25,10 @@ android {
signingConfigs{
release {
Properties properties = new Properties()
if (rootProject.file("local.properties").exists()) {
properties.load(rootProject.file("local.properties").newDataInputStream())
if (rootProject.file("signing.properties").exists()) {
properties.load(rootProject.file("signing.properties").newDataInputStream())
}
storeFile file("circuli_key.jks")
storeFile file(properties.getProperty("KEY_PATH"))
storePassword properties.getProperty("KEY_PASSWORD")
keyAlias properties.getProperty("ALIAS_NAME")
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