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