Open
Description
❔ What are you experiencing an issue with?
Latest Release
❔ Version
v2.5.30
🐞 Description
The poetry publish
catch block in publishPoetry throws the same error message as the poetry config
:
throw new Error(`Failed to run "poetry config repositories.repo ${repoUrl}"`)
This makes it harder to figure out which of the two commands failed. Could the second error thrown be something like:
throw new Error(Failed to run "poetry publish --build --repository --repo")
⏺️ Steps To Reproduce
Set PYPI_TOKEN
to an invalid token. Run the publish step and observe the error message.
📒 Relevant Log Output
No response
💡 Possible Solution
throw new Error(Failed to run "poetry publish --build --repository --repo")