Merge branch 'fix-changelist' into 'main'

Strip on tilde for kitmaker version

See merge request nvidia/container-toolkit/container-toolkit!325
This commit is contained in:
Evan Lezar 2023-03-06 14:10:54 +00:00
commit 9b303d5b89

View File

@ -193,9 +193,9 @@ function upload_archive() {
} }
component="nvidia_container_toolkit" component="nvidia_container_toolkit"
version="${VERSION%-rc.*}" version="${VERSION%~rc.*}"
version_suffix=$(date -r "${IMAGE_EPOCH}" '+%Y.%m.%d.%s' || date -d @"${IMAGE_EPOCH}" '+%Y.%m.%d.%s') version_suffix=$(date -r "${IMAGE_EPOCH}" '+%Y.%m.%d.%s' || date -d @"${IMAGE_EPOCH}" '+%Y.%m.%d.%s')
kitmaker_version="${VERSION%-rc.*}.${version_suffix}" kitmaker_version="${VERSION%~rc.*}.${version_suffix}"
kitmaker_os="linux" kitmaker_os="linux"
# create_and_upload creates a kitmaker archive for the specified component, os, and arch and uploads it. # create_and_upload creates a kitmaker archive for the specified component, os, and arch and uploads it.