Skip to content

Commit 61bc3d7

Browse files
committed
Bug fix
1 parent 76f5d01 commit 61bc3d7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Your PyPI password, add it to your [repository secrets](https://docs.github.com/
5252

5353
#### `upload_repo` *optional*
5454

55-
The repository used for package uploading. Defaults to main PyPI repo, you can use others like PyPI test repo with `'https://test.pypi.org/legacy/'`.
55+
The repository used for package uploading. Defaults to main PyPI repo, you can use others like PyPI test repo with `https://test.pypi.org/legacy/`.
5656

5757
#### `verify_metadata` *optional*
5858

entrypoint.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ echo "---------------- BUILD PACKAGE ----------------"
4040

4141
python setup.py sdist bdist_wheel
4242

43+
if [[ ${VERIFY_METADATA} != "false" ]] ; then
44+
twine check dist/*
45+
fi
46+
4347
echo "---------------- PUBLISH PACKAGE ----------------"
4448

4549
EXTRA_ARGS=
@@ -49,12 +53,8 @@ if [[ -n "${UPLOAD_REPO}" ]]; then
4953
echo "-------- Using repository: ${UPLOAD_REPO}"
5054
fi
5155

52-
if [[ ${VERIFY_METADATA} != "false" ]] ; then
53-
twine check dist/*
54-
fi
55-
5656
if [[ ${SKIP_EXISTING} != "false" ]] ; then
57-
EXTRA_ARGS=--skip-existing
57+
EXTRA_ARGS="--skip-existing ${EXTRA_ARGS}"
5858
fi
5959

6060
if [[ ${VERBOSE} != "false" ]] ; then

0 commit comments

Comments
 (0)