I recently made a python library (most recent version: v1.0.0). I have made a few changes to it and want to release the next version (that is v1.0.1). I tried searching google to find the command to do so but found nothing. So I decided to run the initial commands (The ones used to publish the library) which are:
py -m build
followed by:
twine upload --repository-url dist/*
and I got this error message:
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ This filename has already been used, use a different version. See https://pypi.org/help/#file-name-reuse for more information.
Can someone help me by telling me what commands I should use to release the next version or provide a source to refer to?
EDIT: I saw a similar question and tried the Best Answer but it doesn't work and still gives me this error message:
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ This filename has already been used, use a different version. See https://pypi.org/help/#file-name-reuse for more information.