-
-
Notifications
You must be signed in to change notification settings - Fork 154
Releasing
R. Bernstein edited this page Jun 21, 2021
·
7 revisions
git pull
$ emacs decompyle3/version.py
$ source decompyle3/version.py
$ echo $__version__
$ git commit -m"Get ready for release $__version__" .
$ make ChangeLog
$ emacs NEWS.md
$ make check
$ git commit --amend .
$ git push # get CI testing going early
$ admin-tools/check-versions.sh
$ . ./admin-tools/make-dist.sh
$ twine check dist/decompyle3-${__version__}*
Goto https://github.com/rocky/python-decompyle3/releases/new
Now check the tagged release. (Checking the untagged release was previously done).
Todo: turn this into a script in admin-tools
$ pushd /tmp/gittest
$ pip install -e git://github.com/rocky/python-decompile3.git@$__version__#egg=decompyle3
$ decompyle3 --version
$ decompyle3 src/decompyle3/__pycache__/__pkginfo__.cpython-38.pyc
$ pip uninstall decompyle3
$ popd
Goto https://github.com/rocky/python-decompile3/releases/new
$ twine upload dist/decompyle3-${__version__}*
Check on https://pypi.org/project/decompyle3/
$ git pull --tags
$ mv -v dist/decompyle3-${__version__}* dist/uploaded
In decompyle3/version.py
bump number and add .dev0
.