Skip to content

Commit 10a6f52

Browse files
Merge branch 'release/1.1.0'
2 parents ffd94dc + d63f58c commit 10a6f52

File tree

430 files changed

+10333
-1707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

430 files changed

+10333
-1707
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto
2+
gradlew eol=lf
3+
gradlew.bat eol=crlf

.github/workflows/publishing.yml

Lines changed: 70 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@ on:
1212
jobs:
1313
build:
1414
name: Build
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616
environment: google-play-store
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
with:
2121
fetch-depth: 0
2222
submodules: true
2323

24-
- uses: actions/setup-java@v4
24+
- name: Setup Java
25+
uses: actions/setup-java@v4
2526
with:
2627
distribution: 'temurin'
27-
java-version: '17'
28+
java-version: '21'
2829
cache: 'gradle'
2930

3031
- name: Set up keystore
@@ -37,72 +38,106 @@ jobs:
3738
GOOGLE_SERVICES_B64: ${{ secrets.GOOGLE_SERVICES_B64 }}
3839
run: echo $GOOGLE_SERVICES_B64 | base64 --decode > app/google-services.json
3940

40-
- name: Build APKs
41+
- name: Build app
4142
env:
4243
KEYSTORE_PATH: /tmp/fyreplace.keystore
4344
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
44-
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
45+
KEY_ALIAS: ${{ vars.KEY_ALIAS }}
4546
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
46-
run: ./gradlew assembleRelease
47-
48-
- name: Build bundles
49-
env:
50-
KEYSTORE_PATH: /tmp/fyreplace.keystore
51-
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
52-
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
53-
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
54-
run: ./gradlew bundleRelease
55-
56-
- uses: actions/upload-artifact@v4
47+
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
48+
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
49+
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
50+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
51+
run: |
52+
./gradlew \
53+
assembleLegacyGoogleRelease \
54+
assembleLegacyLibreRelease \
55+
bundleLegacyGoogleRelease \
56+
bundleLegacyLibreRelease
57+
58+
- name: Upload Google APK
59+
uses: actions/upload-artifact@v4
5760
with:
58-
name: Fyreplace.apk
59-
path: app/build/outputs/apk/google/release/*.apk
61+
name: Fyreplace.google.apk
62+
path: app/build/outputs/apk/legacyGoogle/release/app-legacy-google-release.apk
6063
if-no-files-found: error
6164

62-
- uses: actions/upload-artifact@v4
65+
- name: Upload Libre APK
66+
uses: actions/upload-artifact@v4
6367
with:
64-
name: Fyreplace-libre.apk
65-
path: app/build/outputs/apk/libre/release/*.apk
68+
name: Fyreplace.libre.apk
69+
path: app/build/outputs/apk/legacyLibre/release/app-legacy-libre-release.apk
6670
if-no-files-found: error
6771

68-
- uses: actions/upload-artifact@v4
72+
- name: Upload Google AAB
73+
uses: actions/upload-artifact@v4
6974
with:
70-
name: Fyreplace.aab
71-
path: app/build/outputs/bundle/googleRelease/*.aab
75+
name: Fyreplace.google.aab
76+
path: app/build/outputs/bundle/legacyGoogleRelease/app-legacy-google-release.aab
7277
if-no-files-found: error
7378

74-
- uses: actions/upload-artifact@v4
79+
- name: Upload Libre AAB
80+
uses: actions/upload-artifact@v4
7581
with:
76-
name: Fyreplace-libre.aab
77-
path: app/build/outputs/bundle/libreRelease/*.aab
82+
name: Fyreplace.libre.aab
83+
path: app/build/outputs/bundle/legacyLibreRelease/app-legacy-libre-release.aab
7884
if-no-files-found: error
7985

86+
test:
87+
name: Test
88+
runs-on: ubuntu-24.04
89+
environment: google-play-store
90+
steps:
91+
- name: Checkout code
92+
uses: actions/checkout@v5
93+
with:
94+
fetch-depth: 0
95+
submodules: true
96+
97+
- name: Setup Java
98+
uses: actions/setup-java@v4
99+
with:
100+
distribution: 'temurin'
101+
java-version: '21'
102+
cache: 'gradle'
103+
104+
- name: Set up Google services
105+
env:
106+
GOOGLE_SERVICES_B64: ${{ secrets.GOOGLE_SERVICES_DEBUG_B64 }}
107+
run: echo $GOOGLE_SERVICES_B64 | base64 --decode > app/google-services.json
108+
109+
- name: Run tests
110+
run: ./gradlew assembleNextGoogleDebug test
111+
80112
publish:
81113
name: Publish
82-
needs: build
83-
runs-on: ubuntu-latest
114+
needs:
115+
- build
116+
- test
117+
runs-on: ubuntu-24.04
84118
environment: google-play-store
85119
steps:
86120
- name: Checkout code
87-
uses: actions/checkout@v4
121+
uses: actions/checkout@v5
88122
with:
89123
fetch-depth: 0
90124
submodules: true
91125

92126
- name: Set up artifact directory
93127
run: mkdir -p build
94128

95-
- uses: actions/download-artifact@v4
129+
- name: Download Google AAB
130+
uses: actions/download-artifact@v5
96131
with:
97-
name: Fyreplace.aab
132+
name: Fyreplace.google.aab
98133
path: build
99134

100135
- name: Set up Google service account
101136
env:
102137
GCLOUD_SERVICE_ACCOUNT_CREDENTIALS_B64: ${{ secrets.GCLOUD_SERVICE_ACCOUNT_CREDENTIALS_B64 }}
103138
run: echo $GCLOUD_SERVICE_ACCOUNT_CREDENTIALS_B64 | base64 --decode > build/google-service-account.json
104139

105-
- name: Upload bundle to Google Play
140+
- name: Upload AAB to Google Play
106141
run: |
107142
case "${{ github.ref_name }}" in
108143
v*.*.*)
@@ -117,4 +152,4 @@ jobs:
117152
--changes_not_sent_for_review true \
118153
--json_key build/google-service-account.json \
119154
--aab build/*.aab \
120-
--package_name ${{ secrets.PACKAGE_NAME }}
155+
--package_name ${{ vars.PACKAGE_NAME }}

.gitignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
.DS_Store
21
*.iml
32
.gradle
4-
local.properties
5-
build
6-
captures
3+
/local.properties
4+
/.idea
5+
.DS_Store
6+
/build
7+
/captures
78
.externalNativeBuild
89
.cxx
9-
key.properties
10+
local.properties

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "app/src/main/proto/protos"]
2-
path = app/src/main/proto/protos
1+
[submodule "app/src/legacy/proto/protos"]
2+
path = app/src/legacy/proto/protos
33
url = https://github.com/fyreplace/fyreplace-protos.git

.idea/.gitignore

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

.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

.idea/codeStyles/Project.xml

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

.idea/codeStyles/codeStyleConfig.xml

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

.idea/compiler.xml

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

.idea/encodings.xml

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

0 commit comments

Comments
 (0)