mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-16 11:51:47 +01:00
remove asc files handling (#21216)
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
61d0796bc8
commit
7201b3bd5a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user