mirror of
				https://github.com/NVIDIA/nvidia-container-toolkit
				synced 2025-06-26 18:18:24 +00:00 
			
		
		
		
	Also skip nvidia-container-toolit-operator-extensions in release scripts
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
		
							parent
							
								
									98afe0d27a
								
							
						
					
					
						commit
						c4836a576f
					
				| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user