Skip to content

Commit 80ac624

Browse files
committed
fix(fdroid): Fix F-Droid build configuration
- Use specific commit SHA (381515a) instead of branch reference - Change gradle target from 'yes' to 'release' build variant - Use 'npm ci' with legacy-peer-deps for deterministic builds - Add nodejs and npm to sudo dependencies - Remove custom build step (gradle handles Android build)
1 parent deeab92 commit 80ac624

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

applications/qnet-mobile/fdroid-metadata.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,20 @@ Repo: https://github.com/AIQnetLab/QNet-Blockchain.git
3636
Builds:
3737
- versionName: 1.0.7
3838
versionCode: 8
39-
commit: testnet
39+
commit: 381515a
4040
timeout: 10800
4141
subdir: applications/qnet-mobile/android
4242
sudo:
4343
- apt-get update
44-
- apt-get install -y openjdk-17-jdk-headless
44+
- apt-get install -y openjdk-17-jdk-headless nodejs npm
4545
- update-java-alternatives -a
4646
gradle:
47-
- yes
47+
- release
4848
prebuild:
4949
- cd ../..
50-
- npm install
50+
- npm ci --legacy-peer-deps
5151
scandelete:
5252
- applications/qnet-mobile/node_modules
53-
build:
54-
- cd ../..
55-
- npm run android --offline
5653

5754
AutoUpdateMode: None
5855
UpdateCheckMode: None

0 commit comments

Comments
 (0)