File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,11 @@ jobs:
8585 fi
8686 # Check if the new version is different from the latest on PyPI, avoid re-uploading error
8787 if [ "$NEW_VERSION" != "$LATEST_PYPI" ]; then
88- # docker compose run --build --quiet-pull \
89- # -e TWINE_USERNAME=${TWINE_USERNAME} \
90- # -e TWINE_PASSWORD=${TWINE_PASSWORD} \
91- # -e TWINE_REPOSITORY=${TWINE_REPOSITORY} \
92- # app sh -c "pip install twine && python -m twine upload dist/*"
93- echo "Uploading to $TWINE_REPOSITORY"
88+ docker compose run --build --quiet-pull \
89+ -e TWINE_USERNAME=${TWINE_USERNAME} \
90+ -e TWINE_PASSWORD=${TWINE_PASSWORD} \
91+ -e TWINE_REPOSITORY=${TWINE_REPOSITORY} \
92+ app sh -c "pip install twine && python -m twine upload dist/*"
9493 else
9594 echo "::warning::Latest version $LATEST_PYPI on $TWINE_REPOSITORY is the new version $NEW_VERSION"
9695 fi
You can’t perform that action at this time.
0 commit comments