You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/28 12:03:31 UTC
[GitHub] [airflow] ashb commented on a change in pull request #16674: Add preparation of images as part of RC preparation process
ashb commented on a change in pull request #16674:
URL: https://github.com/apache/airflow/pull/16674#discussion_r659724552
##########
File path: scripts/ci/libraries/_build_images.sh
##########
@@ -743,8 +743,8 @@ function build_images::prepare_prod_build() {
build_images::add_build_args_for_remote_install
elif [[ -n "${INSTALL_AIRFLOW_VERSION=}" ]]; then
# When --install-airflow-version is used then the image is build using released PIP package
- # For PROD image only numeric versions are allowed
- if [[ ! ${INSTALL_AIRFLOW_VERSION} =~ ^[0-9\.]*$ ]]; then
+ # For PROD image only numeric versions are allowed and RC candidates
+ if [[ ! ${INSTALL_AIRFLOW_VERSION} =~ ^[0-9\.]*(rc[0-9]*)?$ ]]; then
Review comment:
```suggestion
if [[ ! ${INSTALL_AIRFLOW_VERSION} =~ ^[0-9\.]+(rc[0-9]+)?$ ]]; then
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org