diff --git a/scripts/extract-packages.sh b/scripts/extract-packages.sh index 9cc326b4..a3e8bf90 100755 --- a/scripts/extract-packages.sh +++ b/scripts/extract-packages.sh @@ -40,6 +40,12 @@ PACKAGE_IMAGE=$1 # For example, we don't release release candidates of nvidia-container-runtime and nvidia-docker2 # since these only bump the nvidia-container-toolkit dependency. function skip-for-release-candidate() { + # We always skip nvidia-container-toolkit-operator-extensions packages + if [[ "${package_name/"nvidia-container-toolkit-operator-extensions"/}" != "${package_name}" ]]; then + return 0 + fi + + # We allow all other packages for non-rc versions. if [[ "${VERSION/rc./}" == "${VERSION}" ]]; then return 1 fi diff --git a/scripts/release-packages.sh b/scripts/release-packages.sh index d15e2ae6..253df007 100755 --- a/scripts/release-packages.sh +++ b/scripts/release-packages.sh @@ -120,6 +120,12 @@ function sync() { mkdir -p ${dst} for f in $(ls ${src}/libnvidia-container*.${pkg_type} ${src}/nvidia-container-toolkit*.${pkg_type}); do + # We never release nvidia-container-toolkit-operator-extensions packages + if [[ "${f/"nvidia-container-toolkit-operator-extensions"/}" != "${f}" ]]; then + echo "Skipping ${f}" + continue + fi + df=${dst}/$(basename ${f}) df_stable=${df//"/experimental/"/"/stable/"} if [[ -f "${df}" ]]; then