summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2022-05-21 08:49:44 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2022-05-21 08:49:44 -0700
commite6ab3ec18af861e6959aad7261d6dfd84c549e10 (patch)
tree54e41c894f5ccdfe5f6fe03a226c92d2dc8d688e
parent659f3311686d108406216376f7e1cbc9fb7122df (diff)
downloadnetworkx-e6ab3ec18af861e6959aad7261d6dfd84c549e10.tar.gz
Update release process
-rw-r--r--doc/developer/release.rst11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/developer/release.rst b/doc/developer/release.rst
index 60f1ad77..9ab4098a 100644
--- a/doc/developer/release.rst
+++ b/doc/developer/release.rst
@@ -76,16 +76,13 @@ Release Process
Assuming you are at the top-level of the ``documentation`` repo::
# FIXME - use eol_banner.html
- cp -a latest networkx-<major>.<minor>
+ cp -a latest ../networkx-<major>.<minor>
+ git reset --hard <commit from last release>
+ mv ../networkx-<major>.<minor> .
ln -sfn networkx-<major>.<minor> stable
git add networkx-<major>.<minor> stable
git commit -m "Add <major>.<minor> docs"
- # maybe squash all the Deploy GitHub Pages commits
- # git rebase -i HEAD~XX where XX is the number of commits back
- # check you didn't break anything
- # diff -r latest networkx-<major>.<minor>
- # you will then need to force the push so be careful!
- git push
+ git push # force push---be careful!
- Update ``__version__`` in ``networkx/__init__.py``.