Prepare release » History » Version 1
Olivier Bitsch, 03/05/2024 11:02 AM
| 1 | 1 | Olivier Bitsch | # Prepare release |
|---|---|---|---|
| 2 | |||
| 3 | 1. Create a new version with `gbp dch --ignore-branch`. |
||
| 4 | 1. Replace release `sed -i "s/UNRELEASED/focal/g`. |
||
| 5 | 1. Store the version `VERSION=$(head -n 1 debian/changelog| cut -d' ' -f2 | sed 's/[\(\)]*//g')` |
||
| 6 | 1. Store the package |
||
| 7 | 1. Build with podman `make podman` |
||
| 8 | 1. Tag the release `podman tag docker.io/iabsis/hcw-backend:latest docker.io/iabsis/hcw-backend:${VERSION}` |
||
| 9 | 1. Push everything `podman push docker.io/iabsis/hcw-backend:latest docker.io/iabsis/hcw-backend:${VERSION}` |