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