diff options
author | Jarrod Millman <jarrod.millman@gmail.com> | 2022-02-19 16:18:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 16:18:03 -0800 |
commit | ed052eb49942e82c975046349be5f1740feb5b9b (patch) | |
tree | 9cc57f48e6ef306ce28b7b63c1375a79a66e7c80 | |
parent | 045a29d7cb01440be646cb17f7ad7bf9a54d833b (diff) | |
download | networkx-ed052eb49942e82c975046349be5f1740feb5b9b.tar.gz |
Update release process (#5348)
-rw-r--r-- | doc/developer/release.rst | 10 | ||||
-rw-r--r-- | requirements/release.txt | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/developer/release.rst b/doc/developer/release.rst index 2f290bee..082bcf00 100644 --- a/doc/developer/release.rst +++ b/doc/developer/release.rst @@ -42,14 +42,14 @@ Release Process - Push the new meta-data to github:: - git push --tags upstream main + git push --tags origin main - (where ``upstream`` is the name of the + (where ``origin`` is the name of the ``github.com:networkx/networkx`` repository.) - Review the github release page:: - https://github.com/networkx/networkx/releases + https://github.com/networkx/networkx/tags - Pin badges in ``README.rst``:: @@ -60,7 +60,7 @@ Release Process git clean -fxd pip install -r requirements/release.txt - python setup.py sdist bdist_wheel + python -m build --sdist --wheel twine upload -s dist/* - Unpin badges in ``README.rst``:: @@ -102,7 +102,7 @@ Release Process git add networkx/__init__.py doc/_templates/layout.html git commit -m "Bump release version" - git push upstream main + git push origin main - Update the web frontpage: The webpage is kept in a separate repo: networkx/website diff --git a/requirements/release.txt b/requirements/release.txt index 24e5b652..4f7d2499 100644 --- a/requirements/release.txt +++ b/requirements/release.txt @@ -1,2 +1,3 @@ +build>=0.7 twine>=3.8 wheel>=0.37 |