mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-21 17:55:30 +01:00
fix release script (#21100)
since we wil not ship the asc files since v2.12, it needs to remove the stesp to handle signatures. Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
2ed5c1eb97
commit
91082af39f
5
.github/workflows/publish_release.yml
vendored
5
.github/workflows/publish_release.yml
vendored
@ -40,9 +40,7 @@ jobs:
|
||||
dst_offline_package=harbor-offline-installer-${{ env.CUR_TAG }}.tgz
|
||||
dst_online_package=harbor-online-installer-${{ env.CUR_TAG }}.tgz
|
||||
gsutil cp gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${src_offline_package} gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${dst_offline_package}
|
||||
gsutil cp gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${src_offline_package}.asc gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${dst_offline_package}.asc
|
||||
gsutil cp gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${src_online_package} gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${dst_online_package}
|
||||
gsutil cp gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${src_online_package}.asc gs://${{ secrets.HARBOR_RELEASE_BUILD }}/${{ env.BRANCH }}/${dst_online_package}.asc
|
||||
|
||||
assets_path=$(pwd)/assets
|
||||
source tools/release/release_utils.sh && getAssets ${{ secrets.HARBOR_RELEASE_BUILD }} ${{ env.BRANCH }} $dst_offline_package $dst_online_package ${{ env.PRERELEASE }} $assets_path
|
||||
@ -74,7 +72,6 @@ jobs:
|
||||
body_path: ${{ env.RELEASE_NOTES_PATH }}
|
||||
files: |
|
||||
${{ env.OFFLINE_PACKAGE_PATH }}
|
||||
${{ env.OFFLINE_PACKAGE_PATH }}.asc
|
||||
${{ env.MD5SUM_PATH }}
|
||||
- name: GA Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
@ -83,7 +80,5 @@ jobs:
|
||||
body_path: ${{ env.RELEASE_NOTES_PATH }}
|
||||
files: |
|
||||
${{ env.OFFLINE_PACKAGE_PATH }}
|
||||
${{ env.OFFLINE_PACKAGE_PATH }}.asc
|
||||
${{ env.ONLINE_PACKAGE_PATH }}
|
||||
${{ env.ONLINE_PACKAGE_PATH }}.asc
|
||||
${{ env.MD5SUM_PATH }}
|
||||
|
Loading…
Reference in New Issue
Block a user