potiuk commented on a change in pull request #12693:
URL: https://github.com/apache/airflow/pull/12693#discussion_r537060201
##########
File path: scripts/in_container/run_install_and_test_provider_packages.sh
##########
@@ -38,13 +38,10 @@ if (($# < 1)); then
exit 2
fi
-INSTALL_TYPE=${1}
-readonly INSTALL_TYPE
-
-if [[ ${INSTALL_TYPE} != "whl" && ${INSTALL_TYPE} != "tar.gz" ]]; then
- echo
- echo "${COLOR_RED_ERROR} Wrong install type ${INSTALL_TYPE}. Should be
'whl' or 'tar.gz' ${COLOR_RESET}"
- echo
+if [[ ${PACKAGE_FORMAT} != "wheel" && ${PACKAGE_FORMAT} != "sdist" ]]; then
Review comment:
Actually I am going to merge that one after #12685 - exactly because
they will fix the CI failures.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]