fix mistake when there is an incubator and a stable app, the incubator apps should be the one that is tested

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-03 12:07:03 +02:00
parent ec87759f2b
commit c036a2dddb

View File

@@ -98,10 +98,10 @@ jobs:
if: ${{ matrix.app != '.gitkee' }}
id: prep-lint
run: |
if test -f "./charts/stable/${{ matrix.app }}/Chart.yaml"; then
train="stable"
elif test -f "./charts/incubator/${{ matrix.app }}/Chart.yaml"; then
if test -f "./charts/incubator/${{ matrix.app }}/Chart.yaml"; then
train="incubator"
else if test -f "./charts/stable/${{ matrix.app }}/Chart.yaml"; then
train="stable"
elif test -f "./charts/library/${{ matrix.app }}/Chart.yaml"; then
train="library"
else