Release 1.5
This commit is contained in:
29
README.md
29
README.md
@@ -140,6 +140,34 @@ Notes:
|
||||
- `GUNICORN_WORKERS` (default: 2)
|
||||
- `GUNICORN_BIND` (default: `0.0.0.0:8000`)
|
||||
|
||||
## Release helper (git + docker publish)
|
||||
|
||||
This repo includes a small helper to:
|
||||
|
||||
1) ask for a **commit message** and **version**
|
||||
2) commit + push to the `openslide` git remote
|
||||
3) build + push Docker images:
|
||||
- `git.alphen.cloud/bramval/openslide:<version>`
|
||||
- `git.alphen.cloud/bramval/openslide:latest`
|
||||
|
||||
Run (interactive):
|
||||
|
||||
```bash
|
||||
python scripts/release.py
|
||||
```
|
||||
|
||||
Run (non-interactive):
|
||||
|
||||
```bash
|
||||
python scripts/release.py --version 1.2.3 --message "Release 1.2.3"
|
||||
```
|
||||
|
||||
Dry-run (prints commands only):
|
||||
|
||||
```bash
|
||||
python scripts/release.py --version 1.2.3 --message "Release 1.2.3" --dry-run
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- SQLite DB is stored at `instance/signage.sqlite`.
|
||||
@@ -232,5 +260,6 @@ If the reset email is not received:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user