Skip to content

Commit

Permalink
Avoid bumping min-airflow-version in prepare-provider-documentation (#…
Browse files Browse the repository at this point in the history
…36191)

The change #36160 included removed providers in documentation
generation - which is unnecesary and we should not do it.

This PR avoids doing it for removed providers.

(cherry picked from commit c2f440d)
  • Loading branch information
potiuk committed Dec 15, 2023
1 parent d7c7c1d commit 64d477f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,8 @@ def update_min_airflow_version(
:return:
"""
provider_details = get_provider_details(provider_package_id)
if provider_details.removed:
return
jinja_context = get_provider_documentation_jinja_context(
provider_id=provider_package_id,
with_breaking_changes=with_breaking_changes,
Expand Down

0 comments on commit 64d477f

Please sign in to comment.