From 03161c4bae1b7fa9a838c736a38cefcc90ac6e08 Mon Sep 17 00:00:00 2001 From: Yutong Sun Date: Tue, 25 Feb 2025 00:41:17 +0000 Subject: [PATCH] script: use --update=none for mv in publish-charts Signed-off-by: Yutong Sun --- scripts/publish-charts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-charts.sh b/scripts/publish-charts.sh index e218aeaf..1d235be7 100755 --- a/scripts/publish-charts.sh +++ b/scripts/publish-charts.sh @@ -11,7 +11,7 @@ if [[ "${VERSION}" =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then git config pull.rebase false git checkout gh-pages git checkout -b "gh-pages-release-${VERSION}" - mv -n "${CHART_BUILD_DIR}"/charts/*.tgz . + mv --update=none "${CHART_BUILD_DIR}"/charts/*.tgz . helmv3 repo index . --url "https://${GITHUB_REPO_OWNER}.github.io/${GITHUB_REPO_NAME}" git add ./*.tgz index.yaml git commit -m "Publish helm charts for ${VERSION}"