From 9cec9efa2c92b3a66134a4ce4c43c255ce43660e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Thu, 10 Aug 2023 20:47:40 +0200 Subject: [PATCH] Update check-chart-versions-bump.yml --- .github/workflows/check-chart-versions-bump.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/check-chart-versions-bump.yml b/.github/workflows/check-chart-versions-bump.yml index 431221f3e..72e8506c3 100644 --- a/.github/workflows/check-chart-versions-bump.yml +++ b/.github/workflows/check-chart-versions-bump.yml @@ -39,8 +39,11 @@ jobs: IFS=$'\n' read -d '' -r -a folders <<< "${{ steps.list_modified_folders.outputs.modified_folders }}" for folder in "${folders[@]}"; do + echo "== folder: ${folder}:" MAIN_CHART_VERSION=$(git show origin:charts/"${folder}"/Chart.yaml | grep "^version:") PR_CHART_VERSION=$(git show ${{ github.event.before }}:charts/"${folder}"/Chart.yaml | grep "^version:") + echo "== MAIN_CHART_VERSION: ${MAIN_CHART_VERSION}:" + echo "== PR_CHART_VERSION: ${PR_CHART_VERSION}:" if [ "$MAIN_CHART_VERSION" == "$PR_CHART_VERSION" ]; then echo "ERROR: the version of the '${folder}' chart hasn't been bumped."