-
-
Notifications
You must be signed in to change notification settings - Fork 1
Releasing
R. Bernstein edited this page May 15, 2021
·
8 revisions
$ git pull
Update __version__
in mathics_pygments/version.py
.
$ source mathics_pygments/version.py # to set in POSIX shell
$ echo $__version__
$ git commit -m"Get ready for release $__version__" .
$ make ChangeLog
Update CHANGES.rst
from ChangeLog
.
$ make check
$ git commit --amend .
$ git push # get CI testing going early
http://rst.ninjs.org/ can be used for checking the RsT.
Todo: turn this into a script in admin-tools
$ [[ ! -d /tmp/gittest ]] && mkdir /tmp/gittest; pushd /tmp/gittest
$ pyenv local 3.7.9
$ pip install -e git://github.com/mathics3/mathics-pygments.git#egg=mathics-pygments
$ cd src/mathics-pygments
$ make test
$ pip uninstall mathics-pygments
$ popd
$ ./admin-tools/check-versions.sh
$ ./admin-tools/make-dist.sh
$ twine check dist/mathics_pygments-$__version__*
Goto https://github.com/mathics3/mathics-pygments/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://github.com/mathics3/mathics-pygments.git@${__version__}#egg=mathics-pygments
$ cd src/mathics-pygments
$ make test
$ pip uninstall mathics-pygments
$ popd
Upload it to PyPI with twine
$ twine upload dist/mathics_pygments-${__version__}*
Move uploaded versions to dist/uploaded
.
- Update docker setup
- Update
__version__
toNEXT_VERSION.dev0