diff --git a/oca-repos-manager.sh b/oca-repos-manager.sh index 529ff41..7587505 100644 --- a/oca-repos-manager.sh +++ b/oca-repos-manager.sh @@ -235,7 +235,7 @@ get_repos_names() { echo -n "." >&2 branch_content=$(curl -s -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${gh_token}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/OCA/"${repo_name}"/contents\?ref\="${odoo_version}") - content_is_present=$(echo "${branch_content}" | jq -e 'any(arrays[]; .name | . == "README.md" or . == "LICENSE" or startswith(".") | not)') + content_is_present=$(echo "${branch_content}" | jq -e 'any(arrays[]; .name | . == "README.md" or . == "LICENSE" or . == "setup" or startswith(".") | not)') if [[ "${content_is_present}" == true ]]; then repos_names+=("${repo_name}")