forked from phoenix/litellm-mirror
good build
This commit is contained in:
parent
b50c7c1200
commit
a36851620f
1 changed files with 18 additions and 18 deletions
|
@ -43,7 +43,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: PyPI publish
|
name: PyPI publish
|
||||||
command: |
|
command: |
|
||||||
# if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep 'setup.py')" ]; then
|
if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep 'setup.py')" ]; then
|
||||||
echo "setup.py modified"
|
echo "setup.py modified"
|
||||||
echo -e "[pypi]\nusername = __token__\npassword = $PYPI_API_TOKEN" > ~/.pypirc
|
echo -e "[pypi]\nusername = __token__\npassword = $PYPI_API_TOKEN" > ~/.pypirc
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
@ -59,10 +59,10 @@ jobs:
|
||||||
echo "Contents of dist directory:"
|
echo "Contents of dist directory:"
|
||||||
ls dist/
|
ls dist/
|
||||||
twine upload --verbose dist/*
|
twine upload --verbose dist/*
|
||||||
# else
|
else
|
||||||
# echo "No changes to setup.py. Skipping PyPI publish."
|
echo "No changes to setup.py. Skipping PyPI publish."
|
||||||
# circleci step halt
|
circleci step halt
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue