diff --git a/scripts/release-kitmaker-artifactory.sh b/scripts/release-kitmaker-artifactory.sh index 18f5501f..1ad1d1e9 100755 --- a/scripts/release-kitmaker-artifactory.sh +++ b/scripts/release-kitmaker-artifactory.sh @@ -193,9 +193,9 @@ function upload_archive() { } 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') -kitmaker_version="${VERSION%-rc.*}.${version_suffix}" +kitmaker_version="${VERSION%~rc.*}.${version_suffix}" kitmaker_os="linux" # create_and_upload creates a kitmaker archive for the specified component, os, and arch and uploads it.