Skip to content

Feature Request: override token value flag #1218

@lwasser

Description

@lwasser

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions