This commit is contained in:
kjeld Schouten-Lebbing
2021-09-03 15:06:48 +02:00
parent 188a028750
commit d6f2f84e3a
4 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ jobs:
- name: Containers - Fetch new application versions
run: |
find ./containers/apps -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
if test -f "./containers/apps/${app}/latest-version.sh"; then
if test -f "./containers/apps/${app}/latest-version.sh"; then
version=$(bash "./containers/apps/${app}/latest-version.sh")
if [[ ! -z "${version}" || "${version}" != "null" ]]; then
echo "${version}" | tee "./containers/apps/${app}/VERSION" > /dev/null
@@ -136,13 +136,13 @@ jobs:
echo "changed apps: ${APPS[*]}"
for chart in ${APPS[*]}
do
if [[ "${chart}" == '.gitkee' ]]; then
if test -f "./charts/incubator/${chart}/Chart.yaml"; then
train="incubator"
elif [[ "${chart}" == '.gitkee' ]]; then
echo "Skipping..."
return
elif test -f "./charts/stable/${chart}/Chart.yaml"; then
train="stable"
elif test -f "./charts/incubator/${chart}/Chart.yaml"; then
train="incubator"
elif test -f "./charts/library/${chart}/Chart.yaml"; then
train="library"
else