-
Notifications
You must be signed in to change notification settings - Fork 1
Releasing
R. Bernstein edited this page May 16, 2021
·
8 revisions
$ git pull
On Mathics3/pymathics-graph master branch. For each release candidate:
update __version__
in pymathics/graph/version.py
$ source pymathics/graph/version.py # to set in POSIX shell
$ echo $__version__
$ git commit -m"Get ready for release $__version__" .
$ make ChangeLog
Update NEWS.md
from ChangeLog
$ make check
$ git commit --amend .
$ git push # get CI testing going early
Todo: turn this into a script in admin-tools
$ [[ ! -d /tmp/gittest ]] && mkdir /tmp/gittest; pushd /tmp/gittest
$ pyenv local 3.7.7 # Use a version that is not the most recent
$ pip install -e git://github.com/Mathics3/pymathics-graph.git#egg=pymathics-graph
$ mathicsscript
In[1]:= LoadModule["pymathics.graph"]
In[2]:= CompleteKaryTree[3, VertexLabels->True]
Ctrl-D
$ pip uninstall pymathics-graph
$ popd
$ (cd ./admin-tools && bash ./make-dist.sh)
$ twine check dist/pymathics[_-]graph-$__version__*
Goto https://github.com/Mathics3/pymathics-graph/releases/news
Now check the tagged release. (Checking the untagged release was previously done).
Todo: turn this into a script in admin-tools
$ git pull # to pull down new tag
$ pushd /tmp/gittest
$ pyenv local 3.7.9
$ pip install -e git://github.com/Mathics3/pymathics-graph.git@${__version__}#egg=pymathics-graph
$ mathicsscript
In[1]:= LoadModule["pymathics.graph"]
In[2]:= CompleteKaryTree[3, VertexLabels->True]
Ctrl-D
$ pip uninstall pymathics-graph
$ popd
Upload it to PyPI with twine
$ twine upload dist/pymathics[_-]graph-${__version__}*
- Update docker setup
- Announce release on Google-Groups pages
- Update
__version__
toNEXT_VERSION.dev0