remove asc files handling (#21214)

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2024-11-19 09:46:45 +08:00 committed by GitHub
parent 9345fe39c9
commit ba177ffbb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,16 +10,12 @@ function getAssets {
local assetsPath=$6
mkdir $assetsPath && pushd $assetsPath
gsutil cp gs://$bucket/$branch/$offlinePackage .
gsutil cp gs://$bucket/$branch/$offlinePackage.asc .
md5sum $offlinePackage > md5sum
md5sum $offlinePackage.asc >> md5sum
# Pre-release does not handle online installer packages
if [ $prerelease = "false" ]
then
gsutil cp gs://$bucket/$branch/$onlinePackage .
gsutil cp gs://$bucket/$branch/$onlinePackage.asc .
md5sum $onlinePackage >> md5sum
md5sum $onlinePackage.asc >> md5sum
fi
popd
}