Skip to content

Commit

Permalink
Merge branch 'main' into lemeurherve-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored Aug 10, 2023
2 parents 51ccae0 + 9cec9ef commit 706a485
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check-chart-versions-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 706a485

Please sign in to comment.