use same app id for FOSS flavor

This commit is contained in:
adbenitez
2024-08-27 10:56:08 +02:00
parent 24e8fc7d25
commit cda7bcb247
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
uses: gradle/wrapper-validation-action@v1
- name: Build APK
run: ./gradlew --no-daemon assembleFossDebug
run: ./gradlew --no-daemon -PABI_FILTER=armeabi-v7a assembleFossDebug
- name: Upload APK
uses: actions/upload-artifact@v3
+2 -2
View File
@@ -54,7 +54,7 @@ jobs:
echo "DC_RELEASE_STORE_PASSWORD=${{ secrets.KEY_STORE_PASSWORD }}" >> ~/.gradle/gradle.properties
echo "DC_RELEASE_KEY_ALIAS=${{ secrets.ALIAS }}" >> ~/.gradle/gradle.properties
echo "DC_RELEASE_KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}" >> ~/.gradle/gradle.properties
./gradlew --no-daemon assembleGplayRelease
./gradlew --no-daemon assembleFossRelease
- name: Release
uses: softprops/action-gh-release@v1
@@ -63,4 +63,4 @@ jobs:
body: "If you don't know what APK file to download for your phone, download the one that has 'universal' in its name, it should work for all phones"
prerelease: ${{ contains(github.event.ref, '-beta') }}
fail_on_unmatched_files: true
files: build/outputs/apk/gplay/release/*.apk
files: build/outputs/apk/foss/release/*.apk
+1 -3
View File
@@ -33,7 +33,7 @@ android {
useLibrary 'org.apache.http.legacy'
defaultConfig {
versionCode 688
versionCode 30000688
versionName "1.46.16"
applicationId "chat.delta.lite"
@@ -122,13 +122,11 @@ android {
foss {
dimension "none"
buildConfigField "boolean", "USE_PLAY_SERVICES", "false"
applicationId "com.github.arcanechat"
}
gplay {
dimension "none"
apply plugin: "com.google.gms.google-services"
buildConfigField "boolean", "USE_PLAY_SERVICES", "true"
versionCode 30000000 + android.defaultConfig.versionCode
}
}