diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-10 12:58:02 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-10 12:58:02 +0300 |
commit | 6d02bdda13866e61c5e58a3f974bc58ba5085202 (patch) | |
tree | f13339cd4e8906b05ecdf302c4ab73411530184c /utils/release-checklist | |
parent | ab95fa5dede670f4d0027a0ca0a32778090dcd58 (diff) |
Do "twine check" before uploading package
Diffstat (limited to 'utils/release-checklist')
-rw-r--r-- | utils/release-checklist | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/utils/release-checklist b/utils/release-checklist index 84cbb3829..12cbe6381 100644 --- a/utils/release-checklist +++ b/utils/release-checklist @@ -12,7 +12,8 @@ for stable releases * ``git commit -am 'Bump to X.Y.Z final'`` * ``make clean`` * ``python setup.py release bdist_wheel sdist`` -* ``twine upload dist/<Sphinx-X.Y.Z files> --sign --identity [your GPG key]`` +* ``twine check dist/Sphinx-X.Y.Z*`` +* ``twine upload dist/Sphinx-X.Y.Z* --sign --identity [your GPG key]`` * open https://pypi.org/project/Sphinx/ and check there are no obvious errors * ``git tag vX.Y.Z`` * ``python utils/bump_version.py --in-develop X.Y.Zb0`` (ex. 1.5.3b0) @@ -39,7 +40,8 @@ for first beta releases * ``git commit -am 'Bump to X.Y.0 beta1'`` * ``make clean`` * ``python setup.py release bdist_wheel sdist`` -* ``twine upload dist/<Sphinx-X.Y.Z files> --sign --identity [your GPG key]`` +* ``twine check dist/Sphinx-X.Y.Z*`` +* ``twine upload dist/Sphinx-X.Y.Z* --sign --identity [your GPG key]`` * open https://pypi.org/project/Sphinx/ and check there are no obvious errors * ``git tag vX.Y.0b1`` * ``python utils/bump_version.py --in-develop X.Y.0b2`` (ex. 1.6.0b2) @@ -69,7 +71,8 @@ for other beta releases * ``git commit -am 'Bump to X.Y.0 betaN'`` * ``make clean`` * ``python setup.py release bdist_wheel sdist`` -* ``twine upload dist/<Sphinx-X.Y.Z files> --sign --identity [your GPG key]`` +* ``twine check dist/Sphinx-X.Y.Z*`` +* ``twine upload dist/Sphinx-X.Y.Z* --sign --identity [your GPG key]`` * open https://pypi.org/project/Sphinx/ and check there are no obvious errors * ``git tag vX.Y.0bN`` * ``python utils/bump_version.py --in-develop X.Y.0bM`` (ex. 1.6.0b3) @@ -98,7 +101,8 @@ for major releases * ``git commit -am 'Bump to X.Y.0 final'`` * ``make clean`` * ``python setup.py release bdist_wheel sdist`` -* ``twine upload dist/<Sphinx-X.Y.Z files> --sign --identity [your GPG key]`` +* ``twine check dist/Sphinx-X.Y.Z*`` +* ``twine upload dist/Sphinx-X.Y.Z* --sign --identity [your GPG key]`` * open https://pypi.org/project/Sphinx/ and check there are no obvious errors * ``git tag vX.Y.0`` * ``python utils/bump_version.py --in-develop X.Y.1b0`` (ex. 1.6.1b0) |