diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index 040d859d07e..85ec3c3f57f 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -74,7 +74,8 @@ patch_apps() { cat ${target}/Chart.yaml | grep "icon" >> catalog/${train}/${chartname}/item.yaml sed -i "s|^icon:|icon_url:|g" catalog/${train}/${chartname}/item.yaml echo "categories:" >> catalog/${train}/${chartname}/item.yaml - cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/category"' -r >> catalog/${train}/${chartname}/item.yaml + category=$(cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/category"' -r) + echo "- $category" >> catalog/${train}/${chartname}/item.yaml # Generate screenshots screenshots="" diff --git a/charts/incubator/kubernetes-reflector/Chart.yaml b/charts/incubator/kubernetes-reflector/Chart.yaml index 9dc0bdbf28e..efccc256892 100644 --- a/charts/incubator/kubernetes-reflector/Chart.yaml +++ b/charts/incubator/kubernetes-reflector/Chart.yaml @@ -26,7 +26,6 @@ sources: type: application version: 0.1.-2 annotations: - truecharts.org/catagories: | - - operators + truecharts.org/category: operators truecharts.org/SCALE-support: "true" truecharts.org/grade: U diff --git a/charts/stable/odoo/Chart.yaml b/charts/stable/odoo/Chart.yaml index 0d7339bdc46..0a2b7fb480c 100644 --- a/charts/stable/odoo/Chart.yaml +++ b/charts/stable/odoo/Chart.yaml @@ -28,6 +28,5 @@ sources: type: application version: 14.0.6 annotations: - truecharts.org/catagories: | - - productivity + truecharts.org/category: productivity truecharts.org/SCALE-support: "true" diff --git a/tools/build-release.sh b/tools/build-release.sh index 8ee950fbf60..3e347b9d680 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -236,7 +236,8 @@ patch_apps() { cat ${target}/Chart.yaml | grep "icon" >> catalog/${train}/${chartname}/item.yaml sed -i "s|^icon:|icon_url:|g" catalog/${train}/${chartname}/item.yaml echo "categories:" >> catalog/${train}/${chartname}/item.yaml - cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/category"' -r >> catalog/${train}/${chartname}/item.yaml + category=$(cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/category"' -r) + echo "- $category" >> catalog/${train}/${chartname}/item.yaml # Generate SCALE App description file cat ${target}/Chart.yaml | yq .description -r >> ${target}/app-readme.md echo "" >> ${target}/app-readme.md diff --git a/tools/gen-cat.sh b/tools/gen-cat.sh index 7fea480aff0..e5e38f05274 100755 --- a/tools/gen-cat.sh +++ b/tools/gen-cat.sh @@ -232,7 +232,8 @@ patch_apps() { cat ${target}/Chart.yaml | grep "icon" >> catalog/${train}/${chartname}/item.yaml sed -i "s|^icon:|icon_url:|g" catalog/${train}/${chartname}/item.yaml echo "categories:" >> catalog/${train}/${chartname}/item.yaml - # cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/category"' -r >> catalog/${train}/${chartname}/item.yaml + # category=$(cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/category"' -r) + # echo "- $category" >> catalog/${train}/${chartname}/item.yaml # Generate SCALE App description file # cat ${target}/Chart.yaml | yq .description -r >> ${target}/app-readme.md echo "" >> ${target}/app-readme.md