mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
Auto update debian changelog and release date
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
14c641377f
commit
4d945e96f3
@ -61,6 +61,8 @@ WORKDIR $DIST_DIR
|
|||||||
COPY packaging/debian ./debian
|
COPY packaging/debian ./debian
|
||||||
|
|
||||||
RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \
|
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
|
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi
|
||||||
|
|
||||||
CMD export DISTRIB="$(lsb_release -cs)" && \
|
CMD export DISTRIB="$(lsb_release -cs)" && \
|
||||||
|
@ -54,6 +54,8 @@ WORKDIR $DIST_DIR
|
|||||||
COPY packaging/debian ./debian
|
COPY packaging/debian ./debian
|
||||||
|
|
||||||
RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \
|
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
|
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi
|
||||||
|
|
||||||
CMD export DISTRIB="$(lsb_release -cs)" && \
|
CMD export DISTRIB="$(lsb_release -cs)" && \
|
||||||
|
Loading…
Reference in New Issue
Block a user