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
|
2020-05-27 23:27:06 +00:00
|
|
|
docker build src --tag zettaio/restic-compose-backup:0.6
|
|
|
|
docker build src --tag zettaio/restic-compose-backup:0.6.0
|
2019-12-05 08:59:24 +00:00
|
|
|
|
2020-03-07 02:10:48 +00:00
|
|
|
docker push zettaio/restic-compose-backup:0.5
|
|
|
|
docker push zettaio/restic-compose-backup:0.5.0
|
2019-12-03 09:19:09 +00:00
|
|
|
```
|