mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-11 19:37:18 +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
|
local assetsPath=$6
|
||||||
mkdir $assetsPath && pushd $assetsPath
|
mkdir $assetsPath && pushd $assetsPath
|
||||||
gsutil cp gs://$bucket/$branch/$offlinePackage .
|
gsutil cp gs://$bucket/$branch/$offlinePackage .
|
||||||
gsutil cp gs://$bucket/$branch/$offlinePackage.asc .
|
|
||||||
md5sum $offlinePackage > md5sum
|
md5sum $offlinePackage > md5sum
|
||||||
md5sum $offlinePackage.asc >> md5sum
|
|
||||||
# Pre-release does not handle online installer packages
|
# Pre-release does not handle online installer packages
|
||||||
if [ $prerelease = "false" ]
|
if [ $prerelease = "false" ]
|
||||||
then
|
then
|
||||||
gsutil cp gs://$bucket/$branch/$onlinePackage .
|
gsutil cp gs://$bucket/$branch/$onlinePackage .
|
||||||
gsutil cp gs://$bucket/$branch/$onlinePackage.asc .
|
|
||||||
md5sum $onlinePackage >> md5sum
|
md5sum $onlinePackage >> md5sum
|
||||||
md5sum $onlinePackage.asc >> md5sum
|
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user