Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version suffix if it is set during image builds #36253

Merged

Commits on Dec 16, 2023

  1. Add version suffix if it is set during image builds

    When we are building CI/PROD images, AIRFLOW_VERSION arg is retrieved
    from the current Airflow version set in version.py. This is find for
    main build when we are running image build tests, because there, the
    version contains `.dev0` and when we extend the image we can use
    `pip install airflow-version=${AIRFLOW_VERSION}`. However in release
    builds, the version in `version.py` does not contain version suffix,
    and this version of Airflow is not released yet.
    
    This PR fixes it by checking if version_suffix_for_pypi is set,
    and it case it is and airflow version does not contain it, we
    will add the suffix automatically.
    potiuk committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    eb0cfca View commit details
    Browse the repository at this point in the history