From 03d1174d8edd3e83dcb33e0f1f1b61ea0724e901 Mon Sep 17 00:00:00 2001 From: "andy.lee" Date: Mon, 6 Jan 2025 17:08:04 +0800 Subject: [PATCH] modify to PKG_NAME to harvester-test-release Signed-off-by: andy.lee --- .github/workflows/build-and-upload.yaml | 4 ++-- scripts/ci-build-pkg.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-upload.yaml b/.github/workflows/build-and-upload.yaml index 46aa393f..e925615f 100644 --- a/.github/workflows/build-and-upload.yaml +++ b/.github/workflows/build-and-upload.yaml @@ -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 diff --git a/scripts/ci-build-pkg.sh b/scripts/ci-build-pkg.sh index f9983551..67c07f1d 100755 --- a/scripts/ci-build-pkg.sh +++ b/scripts/ci-build-pkg.sh @@ -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"