From b71dd09a15f06a9b30e42c2677997738c4930ee1 Mon Sep 17 00:00:00 2001 From: max Date: Thu, 3 Sep 2026 21:31:33 +0200 Subject: [PATCH] Document Gitea Actions automated release workflow --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 848bd1b..1a95387 100644 --- a/README.md +++ b/README.md @@ -263,3 +263,21 @@ Start the server in one shell and run the pipeline test: python test_pipeline.py ``` This tests invalid token rejection, encrypted socket streaming, database persistence, status promotion upon the 4th run, and the Hermes API output. + +--- + +## Automated Releases via Gitea Actions + +The repository includes a automated Gitea workflow at [`.gitea/workflows/release.yml`](.gitea/workflows/release.yml) and a local packaging utility [`package_dist.py`](package_dist.py). + +### How to Trigger a Release +1. Ensure your Gitea repository has `TAG_TOKEN` configured under **Repository Settings $\rightarrow$ Actions $\rightarrow$ Secrets**. +2. Tag a release version and push it: + ```bash + git tag v1.0.0 + git push origin v1.0.0 + ``` +3. Gitea Actions will automatically: + - Run `package_dist.py` to package server, Windows client, and Linux client into `dist/`. + - Compute SHA-256 checksums (`SHA256SUMS.txt`). + - Use `gitea-release-action` to publish the release with all attachments.