We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e917f1 commit af39faaCopy full SHA for af39faa
scripts/ci/pre_commit/pre_commit_version_heads_map.py
@@ -60,7 +60,7 @@ def read_current_airflow_version():
60
if airflow_version.is_devrelease or 'b' in (airflow_version.pre or ()):
61
exit(0)
62
versions = read_revision_heads_map()
63
- if airflow_version not in versions:
+ if airflow_version.base_version not in versions:
64
print("Current airflow version is not in the REVISION_HEADS_MAP")
65
print("Current airflow version:", airflow_version)
66
print("Please add the version to the REVISION_HEADS_MAP at:", DB_FILE)
0 commit comments