ci: see what's in tmp dir

This commit is contained in:
Krrish Dholakia 2025-04-12 10:59:53 -07:00
parent 0853b89864
commit 4ea9887ff6

View file

@ -2427,6 +2427,8 @@ jobs:
# If versions are equal or current is greater, check contents
pip download --no-deps litellm-proxy-extras==$LAST_VERSION -d /tmp
# Find the downloaded file
echo "Contents of /tmp directory:"
ls -R /tmp
DOWNLOADED_FILE=$(ls /tmp/litellm_proxy_extras-*.tar.gz)
tar -xzf "$DOWNLOADED_FILE" -C /tmp
@ -2448,14 +2450,6 @@ jobs:
echo "No changes detected in litellm-proxy-extras. Skipping PyPI publish."
circleci step halt
fi
# Check if there are changes
if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'litellm-proxy-extras/|litellm-proxy-extras/pyproject\.toml')" ]; then
echo "litellm-proxy-extras or its pyproject.toml updated"
else
echo "No changes to litellm-proxy-extras. Skipping PyPI publish."
circleci step halt
fi
- run:
name: Get new version