-
-
Notifications
You must be signed in to change notification settings - Fork 13
Releasing
R. Bernstein edited this page Oct 14, 2025
·
5 revisions
Look at https://pypi.org/project/python-xasm/ and check over the documentation.
$ git pull$ emacs xasm/version.py
$ source xasm/version.py
$ echo $__version__
$ git commit -m"Get ready for release $__version__" .$ make ChangeLog
$ codespell ChangeLog$ emacs NEWS.md
$ make check
$ git commit --amend .
$ git push origin HEAD # get CI testing going early
$ ./admin-tools/check-newest-versions.sh$ admin-tools/check-newest-versions.sh$ ./admin-tools/merge-for-3.6.sh
$ git commit && git commit .
$ make check
$ ./admin-tools/check-3.6-3.10-versions.sh
$ git push origin HEAD$ [[ ! -d /tmp/gittest ]] && mkdir /tmp/gittest; pushd /tmp/gittest
$ pyenv local 3.8.6
$ pip install -e git://github.com/rocky/python-xasm.git#egg=xasm
$ pydisasm --version
$ pydisasm src/xasm/__pycache__/__pkginfo__.cpython-38.pyc
$ pip uninstall xasm
$ popd$ ./admin-tools/make-dist-3.6-3.10.sh
$ ./admin-tools/install-all-newest.sh
$ ./admin-tools/make-dist-newest.sh
$ ./admin-tools/install-all-3.8-3.10.shGoto https://github.com/rocky/python-xasm/releases/new
Set the version, copy the NEWS.md item, and upload the binaries.
$ git pull --tagsTodo: turn this into a script in admin-tools
$ pushd /tmp/gittest
$ pip install -e git://github.com/rocky/python-xasm.git@$__version__#egg=xasm
$ pydisasm --version
$ pydisasm src/xasm/__pycache__/__pkginfo__.cpython-38.pyc
$ pip uninstall xasm
$ popd
$ twine upload dist/xasm-${__version__}*Check on https://pypi.org/project/xasm/
$ mv -v dist/xasm-${__version__}* dist/uploaded/${__version__}/
In xasm/version.py bump the number and add .dev0`.