mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-03 15:43:39 +01:00
remove asc files handling (#21214)
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
9345fe39c9
commit
ba177ffbb5
@ -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