From 8b12001fa68b4734ef45f988ecd95558e0bcd318 Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Fri, 30 Oct 2026 22:51:09 +0700 Subject: [PATCH] docs: document self-hosted F-Droid republish --- distribution/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/distribution/README.md b/distribution/README.md index 84618ae..a716cb2 100644 --- a/distribution/README.md +++ b/distribution/README.md @@ -89,7 +89,17 @@ No GitHub account is used anywhere in this path. (or set `FORGEJO_TOKEN` before `release.sh`; the APK upload is then automatic) 5. Copy the signed APK into the F-Droid repo on the relay host, add a `metadata/org.skatespots.app.yml` changelog entry, run `fdroid update`, and - sync `repo/` to `/var/www/fdroid/repo/`. + sync `repo/` to `/var/www/fdroid/repo/`: + + ```bash + cd /home/ubuntu/fdroid + cp /path/to/SkateSpots-.apk repo/ + . /home/ubuntu/fdroid-venv/bin/activate + fdroid update + sudo rsync -a --delete repo/ /var/www/fdroid/repo/ + sudo chown -R caddy:caddy /var/www/fdroid + ``` + 6. Verify the public latest-release page contains the new `.apk`, and that `https://fdroid.skate-spots.org/repo/index-v2.json` lists the new `versionCode`.