Skip to content

Commit df28772

Browse files
author
Drew Yang
committed
feat: 🚀 release flow is ready
1 parent bf0f363 commit df28772

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎.github/workflows/post_draft_release_published.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)