Updated config.yml

This commit is contained in:
Krish Dholakia 2023-10-09 13:40:20 -07:00
parent 4900f11570
commit 74c5e6f415

View file

@ -73,6 +73,16 @@ jobs:
steps:
- checkout
- run:
name: Check if litellm dir was updated or if pyproject.toml was modified
command: |
if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then
echo "litellm updated"
else
echo "No changes to litellm or pyproject.toml. Skipping PyPI publish."
circleci step halt
fi
- run:
name: Checkout code