don't us that way of determining root folder

This commit is contained in:
kjeld Schouten-Lebbing 2021-08-16 16:10:19 +02:00
parent 51d0d514b5
commit fecb869175
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 2 additions and 4 deletions

View File

@ -67,9 +67,8 @@ jobs:
- name: (re)generate docs
run: |
ROOT=$(git rev-parse --show-top-level)
for train in stable incubator develop non-free deprecated; do
for chart in ${ROOT}/charts/${train}/*; do
for chart in charts/${train}/*; do
if [ -d "${chart}" ]; then
maxchartversion=$(cat ${chart}/Chart.yaml | grep "^version: " | awk -F" " '{ print $2 }')
chartname=$(basename ${chart})
@ -134,9 +133,8 @@ jobs:
- name: update versions in docs
run: |
ROOT=$(git rev-parse --show-top-level)
for train in stable incubator develop non-free deprecated; do
for chart in ${ROOT}/charts/${train}/*; do
for chart in charts/${train}/*; do
if [ -d "${chart}" ]; then
maxchartversion=$(cat ${chart}/Chart.yaml | grep "^version: " | awk -F" " '{ print $2 }')
chartname=$(basename ${chart})