restic-compose-backup/extras/release.md

21 lines
513 B
Markdown
Raw Permalink Normal View History

2019-12-03 10:19:09 +01:00
# Making a release
2019-12-05 02:48:24 +01:00
- Update version in `setup.py`
- Update version in `docs/conf.py`
2019-12-03 10:19:09 +01:00
- Build and tag image
- push: `docker push zettaio/restic-compose-backup:<version>`
2019-12-05 02:04:11 +01:00
- Ensure RTD has new docs published
2019-12-03 10:19:09 +01:00
## Example
2019-12-05 09:59:24 +01:00
When releasing a bugfix version we need to update the
main image as well.
2019-12-03 10:19:09 +01:00
```bash
2019-12-05 09:59:24 +01:00
docker build . --tag zettaio/restic-compose-backup:0.3
docker build . --tag zettaio/restic-compose-backup:0.3.1
docker push zettaio/restic-compose-backup:0.3
docker push zettaio/restic-compose-backup:0.3.1
2019-12-03 10:19:09 +01:00
```