Skip to content

Commit 02bd93f

Browse files
committed
ci: address release review comments
1 parent a12664b commit 02bd93f

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ Download `google-services.json` from the Firebase Console when you need real Fir
1818
- mainnetDebug: Place in `app/src/mainnetDebug/google-services.json`
1919
- mainnetRelease: Place in `app/src/mainnetRelease/google-services.json`
2020

21+
The debug files above are tracked placeholders. Before replacing a debug placeholder with a real Firebase config, hide that local-only change from Git:
22+
23+
```sh
24+
git update-index --skip-worktree app/src/devDebug/google-services.json
25+
cp /secure/path/google-services.json app/src/devDebug/google-services.json
26+
```
27+
28+
Repeat with the `tnetDebug` or `mainnetDebug` path when testing those debug variants.
29+
30+
When you are done testing, restore the tracked placeholder:
31+
32+
```sh
33+
git update-index --no-skip-worktree app/src/devDebug/google-services.json
34+
git restore app/src/devDebug/google-services.json
35+
```
36+
2137
> **Note**: Placeholder debug configs are only for local builds. FCM token registration and push notifications require real Firebase configuration. The mainnet release flavor will fail to build without the `mainnetRelease/google-services.json` file.
2238
2339
#### 2. GitHub Packages setup

scripts/reproduce-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cd "$repo_root"
77
output_dir=${OUTPUT_DIR:-.ai/reproducible-release}
88
bundletool_version=${BUNDLETOOL_VERSION:-1.18.1}
99
bundletool_sha256=${BUNDLETOOL_SHA256:-a73341a7945abcb0e6b8971c7b1b2801bd765006447ca0d2437a4260d572ceac}
10-
bundletool_url=${BUNDLETOOL_URL:-https://repo1.maven.org/maven2/com/android/tools/build/bundletool/${bundletool_version}/bundletool-${bundletool_version}.jar}
10+
bundletool_url=${BUNDLETOOL_URL:-https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/${bundletool_version}/bundletool-${bundletool_version}.jar}
1111
bundletool_jar=${BUNDLETOOL_JAR:-${output_dir}/tools/bundletool-${bundletool_version}.jar}
1212

1313
artifacts_dir="$output_dir/artifacts"

0 commit comments

Comments
 (0)