modify to PKG_NAME to harvester-test-release

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee 2025-01-06 17:08:04 +08:00
parent e236ab2d5f
commit 03d1174d8e
No known key found for this signature in database
GPG Key ID: 10911689462678C7
2 changed files with 4 additions and 4 deletions

View File

@ -200,9 +200,9 @@ jobs:
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
#TODO: replace test-release with ${{steps.ci-build-pkg.outputs.PKG_NAME}}
path: dist-pkg/test-release
path: dist-pkg/harvester-test-release
#TODO: replace test-release with ${{steps.ci-build-pkg.outputs.PKG_NAME}}
destination: releases.rancher.com/harvester-ui/plugin/test-release
destination: releases.rancher.com/harvester-ui/plugin/harvester-test-release
parent: false
headers: |-
cache-control: no-cache,must-revalidate

View File

@ -31,8 +31,8 @@ if [ -n "$GIT_TAG" ]; then
export PKG_NAME=${1}-${CI_BUILD_TAG}
export PKG_TARBALL=${PKG_NAME}.tar.gz
else
export PKG_NAME=${1}-${VERSION}
export PKG_TARBALL=${PKG_NAME}.tar.gz
export PKG_NAME=${1}-${VERSION} # harvester-test-release or harvester-latest
export PKG_TARBALL=${PKG_NAME}.tar.gz # harvester-test-release.tar.gz or harvester-latest.tar.gz
fi
echo "CI Build Artefacts"