From 4d945e96f39e252206b20e3513f8a5d90fbf1a8c Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Fri, 5 Nov 2021 12:06:29 +0100 Subject: [PATCH] Auto update debian changelog and release date Signed-off-by: Evan Lezar --- docker/Dockerfile.debian | 2 ++ docker/Dockerfile.ubuntu | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian index e4855f1d..04e5d13b 100644 --- a/docker/Dockerfile.debian +++ b/docker/Dockerfile.debian @@ -61,6 +61,8 @@ WORKDIR $DIST_DIR COPY packaging/debian ./debian RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \ + dch --changelog debian/changelog --append "Bump libnvidia-container dependency to ${REVISION}}" && \ + dch --changelog debian/changelog -r "" && \ if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi CMD export DISTRIB="$(lsb_release -cs)" && \ diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 4c8e5b92..a1375ed8 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -54,6 +54,8 @@ WORKDIR $DIST_DIR COPY packaging/debian ./debian RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \ + dch --changelog debian/changelog --append "Bump libnvidia-container dependency to ${REVISION}}" && \ + dch --changelog debian/changelog -r "" && \ if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi CMD export DISTRIB="$(lsb_release -cs)" && \