hatch icon indicating copy to clipboard operation
hatch copied to clipboard

Feature Request: override token value flag

Open lwasser opened this issue 1 year ago • 0 comments

Following this conversation here in developing our tutorial on publishing to pypi using hatch, I wasn't sure how to update a token value.

A user if publishing manually might need to create an account wide token for their package before it's published for the first time as a project on PyPI. once the project is published, then you can go back and create a token scoped specifically for that project.

it would be nice to be able to force hatch to update the token value with a flag when publishing.

This might look something like:

hatch publish -r test --update-token new-value-here

or others might have a better idea for what this flag / process might look like too.

lwasser avatar Jan 22 '24 18:01 lwasser