Skip to content

Commit 4d945e9

Browse files
committed
Auto update debian changelog and release date
Signed-off-by: Evan Lezar <[email protected]>
1 parent 14c6413 commit 4d945e9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker/Dockerfile.debian

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ WORKDIR $DIST_DIR
6161
COPY packaging/debian ./debian
6262

6363
RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \
64+
dch --changelog debian/changelog --append "Bump libnvidia-container dependency to ${REVISION}}" && \
65+
dch --changelog debian/changelog -r "" && \
6466
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi
6567

6668
CMD export DISTRIB="$(lsb_release -cs)" && \

docker/Dockerfile.ubuntu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ WORKDIR $DIST_DIR
5454
COPY packaging/debian ./debian
5555

5656
RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \
57+
dch --changelog debian/changelog --append "Bump libnvidia-container dependency to ${REVISION}}" && \
58+
dch --changelog debian/changelog -r "" && \
5759
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi
5860

5961
CMD export DISTRIB="$(lsb_release -cs)" && \

0 commit comments

Comments
 (0)