mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
Strip on tilde for kitmaker version
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
c37209cd09
commit
d944f934d7
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user