Loading templates/gitlab-ci-python.yml +11 −5 Original line number Diff line number Diff line Loading @@ -511,8 +511,11 @@ variables: then maybe_install_poetry if [[ "$PYTHON_PACKAGE_ENABLED" != "true" ]] then log_info "--- build packages (poetry)..." poetry build ${TRACE+--verbose} fi log_info "--- publish packages (poetry)..." poetry config repositories.user_defined "$PYTHON_REPOSITORY_URL" Loading @@ -521,9 +524,12 @@ variables: # shellcheck disable=SC2086 pip install ${PIP_OPTS} build twine if [[ "$PYTHON_PACKAGE_ENABLED" != "true" ]] then log_info "--- build packages (build)..." rm -rf dist python -m build fi log_info "--- publish packages (twine)..." twine upload ${TRACE+--verbose} --username "$PYTHON_REPOSITORY_USERNAME" --password "$PYTHON_REPOSITORY_PASSWORD" --repository-url "$PYTHON_REPOSITORY_URL" dist/* Loading Loading
templates/gitlab-ci-python.yml +11 −5 Original line number Diff line number Diff line Loading @@ -511,8 +511,11 @@ variables: then maybe_install_poetry if [[ "$PYTHON_PACKAGE_ENABLED" != "true" ]] then log_info "--- build packages (poetry)..." poetry build ${TRACE+--verbose} fi log_info "--- publish packages (poetry)..." poetry config repositories.user_defined "$PYTHON_REPOSITORY_URL" Loading @@ -521,9 +524,12 @@ variables: # shellcheck disable=SC2086 pip install ${PIP_OPTS} build twine if [[ "$PYTHON_PACKAGE_ENABLED" != "true" ]] then log_info "--- build packages (build)..." rm -rf dist python -m build fi log_info "--- publish packages (twine)..." twine upload ${TRACE+--verbose} --username "$PYTHON_REPOSITORY_USERNAME" --password "$PYTHON_REPOSITORY_PASSWORD" --repository-url "$PYTHON_REPOSITORY_URL" dist/* Loading