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:
85
85
fi
86
86
# Check if the new version is different from the latest on PyPI, avoid re-uploading error
87
87
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/*"
94
93
else
95
94
echo "::warning::Latest version $LATEST_PYPI on $TWINE_REPOSITORY is the new version $NEW_VERSION"
96
95
fi
You can’t perform that action at this time.
0 commit comments