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 36dcb1d commit 4681d3eCopy full SHA for 4681d3e
airflow/download_constraints.sh
@@ -1,5 +1,7 @@
1
#!/usr/bin/env bash
2
3
+set -euo pipefail
4
+
5
AIRFLOW_VERSION=${1:?"Missing version number argument (arg 1)"}
6
PYTHON_VERSION=${2:-"3.9"}
7
@@ -11,7 +13,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
11
13
pushd "${DIR}" > /dev/null || exit 1
12
14
15
echo "Downloading constraints file for Airflow ${AIRFLOW_VERSION} (Python ${PYTHON_VERSION})"
-curl --fail -Ls "${URL}" -o "${FILENAME}"
16
+curl --fail -LSs "${URL}" -o "${FILENAME}"
17
18
echo "Successfully pulled new constraints file: ${FILENAME}"
19
popd > /dev/null || exit 1
0 commit comments