From 7628709a8a285d8025c82fe19107dc1f5d96e79a Mon Sep 17 00:00:00 2001 From: Bill Little Date: Thu, 3 Jun 2021 15:11:27 +0100 Subject: [PATCH] update docs pypi release (#4173) --- docs/src/developers_guide/release.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/src/developers_guide/release.rst b/docs/src/developers_guide/release.rst index 9e7c74a6ae..b7e35fe072 100644 --- a/docs/src/developers_guide/release.rst +++ b/docs/src/developers_guide/release.rst @@ -107,10 +107,11 @@ source distribution (``sdist``) and pure Python wheel (``bdist_wheel``):: > conda create -n iris-pypi -c conda-forge --yes pip pyke python setuptools twine wheel > . activate iris-pypi -Checkout the lastest Iris ```` tag:: +Checkout the appropriate Iris ```` tag from the appropriate ````. +For example, to checkout tag ``v1.0`` from ``upstream``:: - > git fetch --tags - > git checkout + > git fetch upstream --tags + > git checkout v1.0 Build the source distribution and wheel from the Iris root directory:: @@ -131,7 +132,7 @@ To list and check the contents of the binary wheel:: If all seems well, sufficient maintainer privileges will be required to upload these artifacts to `scitools-iris`_ on PyPI:: - > python -m twine upload --repository-url https://upload.pypi.org/legecy/ dist/* + > python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/* Ensure that the artifacts are successfully uploaded and available on `scitools-iris`_ before creating a conda test environment to install Iris