Skip to content

Commit 2d368ad

Browse files
authored
Merge pull request #3465 from reubenmiller/ci-pip-ignore-cache-cloudsmith-install
ci: ignore pip cache when installing cloudsmith-cli
2 parents b4c0854 + f6a096f commit 2d368ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ci/admin/cloudsmith_admin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ fi
7272
if ! [ -x "$(command -v cloudsmith)" ]; then
7373
echo 'Install cloudsmith cli' >&2
7474
if command -v pip3 &>/dev/null; then
75-
pip3 install --upgrade cloudsmith-cli
75+
pip3 install --no-cache-dir --upgrade cloudsmith-cli
7676
elif command -v pip &>/dev/null; then
77-
pip install --upgrade cloudsmith-cli
77+
pip install --no-cache-dir --upgrade cloudsmith-cli
7878
else
7979
echo "Could not install cloudsmith cli. Reason: pip3/pip is not installed"
8080
exit 2

ci/build_scripts/publish_packages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export PATH="$LOCAL_TOOLS_PATH:$PATH"
6060
if ! [ -x "$(command -v cloudsmith)" ]; then
6161
echo 'Install cloudsmith cli' >&2
6262
if command -v pip3 &>/dev/null; then
63-
pip3 install --upgrade cloudsmith-cli
63+
pip3 install --no-cache-dir --upgrade cloudsmith-cli
6464
elif command -v pip &>/dev/null; then
65-
pip install --upgrade cloudsmith-cli
65+
pip install --no-cache-dir --upgrade cloudsmith-cli
6666
else
6767
echo "Could not install cloudsmith cli. Reason: pip3/pip is not installed"
6868
exit 2

0 commit comments

Comments
 (0)