From 80bd949e5e8da57a12fb8fa1fb2f3749967a1797 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 10 Feb 2026 13:23:23 +0100 Subject: [PATCH] fix(workflow): include addon scripts in github-versions extraction --- .github/workflows/update-versions-github.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-versions-github.yml b/.github/workflows/update-versions-github.yml index b4206cb41..fc6d2e135 100644 --- a/.github/workflows/update-versions-github.yml +++ b/.github/workflows/update-versions-github.yml @@ -89,9 +89,15 @@ jobs: slug=$(jq -r '.slug // empty' "$json_file" 2>/dev/null) [[ -z "$slug" ]] && continue - # Find corresponding install script - install_script="install/${slug}-install.sh" - [[ ! -f "$install_script" ]] && continue + # Find corresponding script (install script or addon script) + install_script="" + if [[ -f "install/${slug}-install.sh" ]]; then + install_script="install/${slug}-install.sh" + elif [[ -f "tools/addon/${slug}.sh" ]]; then + install_script="tools/addon/${slug}.sh" + else + continue + fi # Look for fetch_and_deploy_gh_release calls # Pattern: fetch_and_deploy_gh_release "app" "owner/repo" ["mode"] ["version"]