Skip to content

Commit

Permalink
bugfix: Pass PYPI token to publish environment
Browse files Browse the repository at this point in the history
Passing the PYPI token through the environment enables tox to publish new releases to the `slurmutils` listing on pypi. If this token is not passed, poetry will fail to upload the package.

Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Feb 5, 2024
1 parent 2770c1a commit 4b2d908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ commands =

[testenv:publish]
description = Publish slurmutils to PyPI using poetry.
passenv =
POETRY_PYPI_TOKEN_PYPI
allowlist_externals =
/usr/bin/rm
deps =
Expand Down

0 comments on commit 4b2d908

Please sign in to comment.