restic-compose-backup/extras/release.md

22 lines
573 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-06 07:36:30 +01:00
- Update version in `restic_compose_backup/__init__.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-06 07:36:30 +01:00
docker build src --tag zettaio/restic-compose-backup:0.3
2019-12-06 09:09:05 +01:00
docker build src --tag zettaio/restic-compose-backup:0.3.3
2019-12-05 09:59:24 +01:00
docker push zettaio/restic-compose-backup:0.3
2019-12-06 09:09:05 +01:00
docker push zettaio/restic-compose-backup:0.3.3
2019-12-03 10:19:09 +01:00
```