good build

This commit is contained in:
ishaan-jaff 2023-08-05 10:30:11 -07:00
parent b50c7c1200
commit a36851620f

View file

@ -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