Document Gitea Actions automated release workflow

This commit is contained in:
2026-09-03 21:31:33 +02:00
parent 8a0e6ff15b
commit b71dd09a15
+18
View File
@@ -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.