ashb commented on a change in pull request #12693:
URL: https://github.com/apache/airflow/pull/12693#discussion_r537057123
##########
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:
This is going to conflict with #12685 which adds `both` :)
----------------------------------------------------------------
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]