Skip to content

Commit

Permalink
👷 Fix publish with Poetry in CI
Browse files Browse the repository at this point in the history
There's an still open issue where Poetry doesn't properly reads the env
variable to get the PyPi token:
python-poetry/poetry#2210
  • Loading branch information
HacKanCuBa committed Jun 11, 2021
1 parent 426012c commit c681ba4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ publish test:
publish:
stage: publish
script:
- poetry config http-basic.pypi "__token__" "$POETRY_PYPI_TOKEN_PYPI"
- poetry publish --build
- sha256sum dist/*
- sha512sum dist/*
Expand Down

0 comments on commit c681ba4

Please sign in to comment.