From 6da40d9e63d2bab89a738f8de808810ca7071282 Mon Sep 17 00:00:00 2001 From: Honey Date: Wed, 2 Sep 2026 00:52:49 +0200 Subject: [PATCH] docs(scripts): add .env.release.example template for publish-apk Co-Authored-By: Claude Opus 4.8 --- scripts/.env.release.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/.env.release.example diff --git a/scripts/.env.release.example b/scripts/.env.release.example new file mode 100644 index 0000000..8d881bd --- /dev/null +++ b/scripts/.env.release.example @@ -0,0 +1,13 @@ +# Copy this file to scripts/.env.release (gitignored) and fill in your values. +# Used ONLY by `npm run publish-apk` on your DEV machine to upload the built APK to Gitea. +# +# cp scripts/.env.release.example scripts/.env.release +# +# GITEA_URL: a Gitea base URL reachable FROM THIS (dev) machine. On your LAN that's the internal +# address, e.g. http://192.168.1.10:3000 — NOT the (blocked) external duckdns URL. +GITEA_URL=http://192.168.1.10:3000 +GITEA_REPO=Docker/NovaSonic +# A Gitea token with WRITE access (Settings → Applications → scope write:repository). +GITEA_TOKEN=paste-your-write-token-here +# Fixed release tag the APK lives in (leave as-is unless you changed it on the backend too). +GITEA_APK_TAG=apk-latest