Skip to content

Commit d9352f4

Browse files
authored
Merge pull request #145 from ELTEGANI/beta
Beta
2 parents e1e6502 + be8cd76 commit d9352f4

File tree

7 files changed

+17
-193
lines changed

7 files changed

+17
-193
lines changed

.github/workflows/releaseBeta.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Release (Beta Version)
22

33
on:
4-
pull_request:
5-
branches: [ beta ]
4+
push:
5+
paths:
6+
- 'app/**'
7+
branches:
8+
- beta
69

710
jobs:
811
deploy:
@@ -22,7 +25,6 @@ jobs:
2225
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
2326
restore-keys: |
2427
${{ runner.os }}-gems-
25-
2628
- name: Cache Gradle
2729
uses: actions/cache@v1
2830
with:
@@ -42,7 +44,6 @@ jobs:
4244
run: |
4345
bundle config path vendor/bundle
4446
bundle install --jobs 4 --retry 3
45-
4647
- name: Configure Keystore
4748
run: |
4849
echo "$ANDROID_KEYSTORE_FILE" > keystore.jks.b64
@@ -52,8 +53,8 @@ jobs:
5253
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> keystore.properties
5354
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> keystore.properties
5455
env:
55-
BUILD_KEY_STORE: ${{ secrets.BUILD_KEY_STORE }}
56-
ANDROID_KEY_STORE_ALIAS: ${{ secrets.ANDROID_KEY_STORE_ALIAS }}
56+
ANDROID_KEYSTORE_FILE: ${{ secrets.ANDROID_KEYSTORE_FILE }}
57+
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_KEY_ALIAS }}
5758
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
5859
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }}
5960

@@ -65,4 +66,4 @@ jobs:
6566
PLAY_CONFIG_JSON: ${{ secrets.PLAY_CONFIG_JSON }}
6667

6768
- name: Distribute app to Beta track 🚀
68-
run: bundle exec fastlane beta
69+
run: bundle exec fastlane beta

Gemfile.lock

Lines changed: 0 additions & 181 deletions
This file was deleted.

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
}
3030
buildTypes {
3131
release {
32-
minifyEnabled false
32+
minifyEnabled true
3333
shrinkResources false
3434
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
3535
}

app/src/main/java/com/monitoryourexpenses/expenses/usercurrency/GetUserCurrencyFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class GetUserCurrencyFragment : Fragment() {
2323

2424
private lateinit var getUserCurrencyFragmentBinding : GetUserCurrencyFragmentBinding
2525
private val getUserCurrencyUserViewModel:GetUserCurrencyUserViewModel by viewModels()
26+
2627
@Inject
2728
lateinit var expenseMonitorSharedPreferences:ExpenseMonitorSharedPreferences
2829

@@ -45,6 +46,7 @@ class GetUserCurrencyFragment : Fragment() {
4546
getUserCurrencyFragmentBinding.nextButton.setOnClickListener {
4647
getUserCurrencyUserViewModel.saveUserCurrency()
4748
}
49+
4850
return getUserCurrencyFragmentBinding.root
4951
}
5052

app/src/main/java/com/monitoryourexpenses/expenses/usercurrency/GetUserCurrencyUserViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@ class GetUserCurrencyUserViewModel @ViewModelInject
9191
localRepository.insertNewCategory(listOfCategories)
9292
}
9393
}
94+
9495
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ buildscript {
4949
classpath "com.android.tools.build:gradle:${buildGradle}"
5050
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
5151
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$gradlePlugin"
52-
classpath("org.jlleitschuh.gradle:ktlint-gradle:9.2.1")
53-
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.28.3-alpha'
52+
classpath("org.jlleitschuh.gradle:ktlint-gradle:9.3.0")
53+
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.29.1-alpha'
5454
}
5555
}
5656

fastlane/Appfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
json_key_file("/home/etegani/Downloads/play_config.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
2-
package_name("com.monitoryourexpenses.expenses") # e.g. com.krausefx.app
1+
json_key_file("play_config.json")
2+
3+
package_name("com.monitoryourexpenses.expenses")

0 commit comments

Comments
 (0)