瀏覽代碼

Updated release process

Nuwan Goonasekera 7 年之前
父節點
當前提交
a899685d0a
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      docs/topics/release_process.rst

+ 7 - 1
docs/topics/release_process.rst

@@ -14,11 +14,17 @@ Release Process
    changelog. List of commits can be obtained using
    changelog. List of commits can be obtained using
    ``git shortlog <last release hash>..HEAD``
    ``git shortlog <last release hash>..HEAD``
 
 
-5. Release to PyPi
+5. Release to PyPi.
    (make sure you have run `pip install wheel`)
    (make sure you have run `pip install wheel`)
+   First, test release with PyPI staging server as described in:
+   https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
+
+   Once tested, run:
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
+   # remove stale files or wheel might package them
+   rm -r build dist
    python setup.py sdist upload
    python setup.py sdist upload
    python setup.py bdist_wheel upload
    python setup.py bdist_wheel upload