-
Notifications
You must be signed in to change notification settings - Fork 0
Releasing
rocky edited this page May 4, 2026
·
1 revision
$ git pullChange __version__ in mathics3_kernel.frontend.version.py.
$ source mathics3_kernel/frontend/version.py # to set in POSIX shell
$ echo $__version__$ git checkout -b release-$__version__
$ git commit -m"Get ready for release $__version__" .$ make ChangeLogIf ChangeLog has spelling typos, make the corrections and:
$ cp ChangeLog ChangeLog-spell-corrected
$ mv ChangeLog.orig ChangeLog
$ diff -u ChangeLog ChangeLog-spell-correctedIf the diff looks like it captures the corrections:
$ diff -u ChangeLog ChangeLog-spell-corrected > ChangeLog-spell-corrected.diffUpdate CHANGES.rst from ChangeLog.
Go over version numbers in screenshots and examples in README.rst
$ make check
$ git commit --amend .
$ git push # get CI testing going early
http://rst.ninjs.org/ can be used for checking the RsT.
$ git push -u origin HEAD # get CI testing going early
Create a GitHub pull request. After CI finishes, and PR merged:
$ git checkout master
$ git pull origin HEAD
Todo: turn this into a script in admin-tools
$ [[ ! -d /tmp/gittest ]] && mkdir /tmp/gittest; pushd /tmp/gittest
$ pyenv local 3.12.6 # or not newest version
$ pip install -e git+https://github.com/Mathics3/Mathics3-notebook-frontends.git#egg=mathics3_notebook_frontends
$ pip uninstall mathics3_notebook_frontends
$ popd
$ (cd ./admin-tools && bash ./make-dist.sh)
$ twine check dist/mathics3_notebook_frontends-$__version__*
Goto https://github.com/Mathics3/Mathics3-omnibus/releases/new
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
$ pip install -e git+https://github.com/mathics3/mathics3_notebook_frontends.git@${__version__}#egg=mathics3_notebook_frontends
$ pip uninstall mathics3_notebook_frontends
$ popd
Upload it to PyPI with twine
$ twine upload dist/mathics3_notebook_frontends-${__version__}*Move uploaded versions to dist/uploaded.
- Update docker setup
- Announce release on Google-Groups pages
- Update
__version__toNEXT_VERSION.dev0