diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 533683f2f4c..12d25eaccff 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -75,7 +75,7 @@ jobs: | {tag: ., alpha: (capture("ALPHA(?[0-9]+)$").n | tonumber)} ] | if length > 0 then max_by(.alpha).tag else empty end' <<< "${RELEASES_JSON}")" fi - [ -n "${TAG}" ] && [ "${TAG}" != "null" ] || TAG="v4.0.0-ALPHA24" + [ -n "${TAG}" ] && [ "${TAG}" != "null" ] || TAG="v4.0.0-ALPHA28" VERSION="${TAG#v}" VERSION="${VERSION#forgetool-v}" case "$(uname -m)" in @@ -201,26 +201,6 @@ jobs: shell: bash run: | #!/bin/bash - echo "Maing sure directories exist..." - mkdir -p website/truecharts/public/img/hotlink-ok/chart-icons || echo "chart-icons path already exists, continuing..." - mkdir -p website/truecharts/public/img/hotlink-ok/chart-icons-small || echo "chart-icons-small path already exists, continuing..." - mkdir -p website/truecharts/src/assets || echo "assets path already exists, continuing..." - - forgetool charts genchartlist ./charts - mv -f charts.json website/truecharts/src/assets/charts.json - mv -f ./website/truecharts/src/content/docs/charts/index.mdx ./index.mdx - echo "Copying changelogs to docs" - rm -rf ./website/truecharts/src/content/docs/charts/stable ./website/truecharts/src/content/docs/charts/incubator ./website/truecharts/src/content/docs/charts/library - mkdir -p ./website/truecharts/src/content/docs/charts/ - mv -f ./index.mdx ./website/truecharts/src/content/docs/charts/index.mdx - mkdir -p ./changelogs - - # Check if there are any directories in changelogs - if [ -n "$(find ./changelogs -mindepth 1 -type d)" ]; then - cp -r ./changelogs/** ./website/truecharts/src/content/docs/charts/ - else - echo "No directories in ./changelogs. Skipping copy." - fi forgetool charts gendocs --charts-dir ./charts --website-dir ./website rm -rf ./website/truecharts/src/content/docs-common