mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
ci: see what's in tmp dir
This commit is contained in:
parent
0853b89864
commit
4ea9887ff6
1 changed files with 2 additions and 8 deletions
|
@ -2427,6 +2427,8 @@ jobs:
|
||||||
# If versions are equal or current is greater, check contents
|
# If versions are equal or current is greater, check contents
|
||||||
pip download --no-deps litellm-proxy-extras==$LAST_VERSION -d /tmp
|
pip download --no-deps litellm-proxy-extras==$LAST_VERSION -d /tmp
|
||||||
# Find the downloaded file
|
# Find the downloaded file
|
||||||
|
echo "Contents of /tmp directory:"
|
||||||
|
ls -R /tmp
|
||||||
DOWNLOADED_FILE=$(ls /tmp/litellm_proxy_extras-*.tar.gz)
|
DOWNLOADED_FILE=$(ls /tmp/litellm_proxy_extras-*.tar.gz)
|
||||||
tar -xzf "$DOWNLOADED_FILE" -C /tmp
|
tar -xzf "$DOWNLOADED_FILE" -C /tmp
|
||||||
|
|
||||||
|
@ -2448,14 +2450,6 @@ jobs:
|
||||||
echo "No changes detected in litellm-proxy-extras. Skipping PyPI publish."
|
echo "No changes detected in litellm-proxy-extras. Skipping PyPI publish."
|
||||||
circleci step halt
|
circleci step halt
|
||||||
fi
|
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:
|
- run:
|
||||||
name: Get new version
|
name: Get new version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue