mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 20:00:51 +00:00
fix(workflow): include addon scripts in github-versions extraction (#11757)
This commit is contained in:
parent
4dbb139c60
commit
76c7e3a67f
1 changed files with 9 additions and 3 deletions
12
.github/workflows/update-versions-github.yml
generated
vendored
12
.github/workflows/update-versions-github.yml
generated
vendored
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue