Add release helper script
This commit is contained in:
20
README.md
20
README.md
@@ -50,6 +50,26 @@ docker compose up --build
|
||||
|
||||
Open: http://127.0.0.1:5000
|
||||
|
||||
## Release (git + docker)
|
||||
|
||||
There is a helper script that:
|
||||
|
||||
- updates `release.py` with the version
|
||||
- commits + pushes to git using the version as the commit message
|
||||
- builds + pushes Docker images tagged with the version (and optionally `latest`)
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
python release_tool.py v1.0.2 --image git.alphen.cloud/bramval/rssfeedviewer --also-latest
|
||||
```
|
||||
|
||||
Dry run (prints commands only):
|
||||
|
||||
```bash
|
||||
python release_tool.py v1.0.2 --dry-run
|
||||
```
|
||||
|
||||
## Controls
|
||||
|
||||
- Click/tap: next headline
|
||||
|
||||
Reference in New Issue
Block a user