restic-compose-backup/extras/release.md

22 lines
573 B
Markdown
Raw Normal View History

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