diff --git a/scripts/release-packages.sh b/scripts/release-packages.sh index 2c020ebe..d15e2ae6 100755 --- a/scripts/release-packages.sh +++ b/scripts/release-packages.sh @@ -132,8 +132,17 @@ function sync() { done if [[ ${REPO} == "stable" ]]; then - cp ${src}/nvidia-container-runtime*.${pkg_type} ${dst} - cp ${src}/nvidia-docker*.${pkg_type} ${dst} + for f in $(ls ${src}/nvidia-container-runtime*.${pkg_type} ${src}/nvidia-docker*.${pkg_type}); do + df=${dst}/$(basename ${f}) + df_stable=${df//"/experimental/"/"/stable/"} + if [[ -f "${df}" ]]; then + echo "${df} already exists; skipping" + elif [[ ${REPO} == "experimental" && -f ${df_stable} ]]; then + echo "${df_stable} already exists; skipping" + else + cp ${f} ${df} + fi + done fi } diff --git a/test/release/docker/fedora35/Dockerfile b/test/release/docker/fedora35/Dockerfile index 0034246d..9dcd8a55 100644 --- a/test/release/docker/fedora35/Dockerfile +++ b/test/release/docker/fedora35/Dockerfile @@ -25,7 +25,7 @@ RUN fpm -s empty \ rm -f /tmp/docker.rpm -RUN curl -s -L https://nvidia.github.io/libnvidia-container/fedora35/nvidia-container-toolkit.repo \ +RUN curl -s -L https://nvidia.github.io/libnvidia-container/fedora35/libnvidia-container.repo \ | tee /etc/yum.repos.d/nvidia-container-toolkit.repo COPY entrypoint.sh / diff --git a/versions.mk b/versions.mk index 55bd9040..cf7160e6 100644 --- a/versions.mk +++ b/versions.mk @@ -13,13 +13,14 @@ # limitations under the License. LIB_NAME := nvidia-container-toolkit -LIB_VERSION := 1.11.0 -LIB_TAG := +LIB_VERSION := 1.12.0 +LIB_TAG := rc.1 # Specify the nvidia-docker2 and nvidia-container-runtime package versions. -# Note: The tag is automatically specified to match LIB_TAG. -NVIDIA_DOCKER_VERSION := 2.11.0 -NVIDIA_CONTAINER_RUNTIME_VERSION := 3.11.0 +# Note: The build tooling uses `LIB_TAG` above as the version tag. +# This is appended to the versions below if specified. +NVIDIA_DOCKER_VERSION := 2.12.0 +NVIDIA_CONTAINER_RUNTIME_VERSION := 3.12.0 # Specify the expected libnvidia-container0 version for arm64-based ubuntu builds. LIBNVIDIA_CONTAINER0_VERSION := 0.10.0+jetpack