Skip to content

Commit

Permalink
updated upload instructions to exclude downtime
Browse files Browse the repository at this point in the history
  • Loading branch information
vvbragin committed Sep 4, 2024
1 parent 840db3d commit 846f0bb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,19 @@
10d) It will fix the Package Index file
10e) It will build the html files
11) Post the documentation
11a) ssh [email protected] "rm -r ~/public_html"
11a) ssh [email protected] "cp -r ~/public_html ~/public_html_backup"
NOTE: it may give the error "... no matching host key type found ...". In this case, try using the "-oHostKeyAlgorithms=+ssh-rsa" argument in ssh command and in scp command below (as well as in 11c)
11b) scp -r build [email protected]:///home/gkaue9v7ctjf/public_html
11b) scp -r build [email protected]:///home/gkaue9v7ctjf/public_html_new
NOTE: it may give the error "path canonocalization failed", then use the argument "-O" in scp call - it rolls back to legacy mode (see also NOTE in 11a)
11c) ssh [email protected] "cp -r ~/redirect_html/. ~/public_html/"
11c) ssh [email protected] "cp -r ~/redirect_html/. ~/public_html_new/ && rm -r ~/public_html && mv ~/public_html_new ~/public_html"
11d) Make sure new documentation is up and running
11e) ssh [email protected] "rm -r ~/public_html_backup/"
12) Update PYPI (pip) with the latest release
12a) cd netpyne
12b) python3 setup.py bdist_wheel --universal
12c) python setup.py upload_via_twine
Username: salvadord
(outdated) Username: salvadord
Enter the token (https://dura-bernallab.slack.com/archives/D02A30N4Z50/p1707862380181609)
13) Announce the new release
13a) New release announcement text:
NetPyNE v#.#.# is now available. For a complete list of changes and bug fixes see: https://github.com/suny-downstate-medical-center/netpyne/releases/tag/v#.#.#
Expand Down

0 comments on commit 846f0bb

Please sign in to comment.