feat: add publish helper and video upload progress

This commit is contained in:
2026-02-12 12:24:45 +01:00
parent e1c939799b
commit bcab7fc59c
4 changed files with 368 additions and 26 deletions

View File

@@ -134,6 +134,28 @@ In both cases HTTP + Socket.IO is reachable at `http://<host-ip>:5000`.
docker compose up -d --build
```
## Publish (git tag + docker push)
This repo includes a small helper script to publish a version:
```bash
python publish.py 1.2.3
```
It will:
1) `git push origin <current-branch>`
2) Create and push git tag `1.2.3`
3) Build and push Docker images to:
- `git.alphen.cloud/bramval/SyncPlayer:1.2.3`
- `git.alphen.cloud/bramval/SyncPlayer:latest`
Dry-run:
```bash
python publish.py 1.2.3 --dry-run
```
Data is persisted in `./data/` on the host:
- `./data/syncplayer.db`