Files
python-uncompyle6/admin-tools/how-to-make-a-release.md
2017-10-12 07:14:53 -04:00

2.4 KiB

Table of Contents

Get latest sources:

$ . ./admin-tool/update-sources.sh

Change version in uncompyle6/version.py. Then:

$ emacs uncompyle6/version.py
$ source uncompyle6/version.py
$ echo $VERSION
$ git commit -m"Get ready for release $VERSION" .

Update ChangeLog:

$ make ChangeLog

Update NEWS from ChangeLog. Then:

$ emacs NEWS
$ make check
$ git commit --amend .
$ git push   # get CI testing going early

Make sure pyenv is running and check newer versions

$ pyenv local && source admin-tools/check-newer-versions.sh

Switch to python-2.4, sync that up and build that first since it creates a tarball which we don't want.

$ source admin-tools/setup-python-2.4.sh
$ rm ChangeLog

# $ git merge master ?

Update NEWS from master branch

$ git commit -m"Get ready for release $VERSION" .

Check against all versions

$ source admin-tools/check-older-versions.sh
$ source admin-tools/check-newer-versions.sh

Make packages and tag

$ admin-tools/make-dist-older.sh
$ git tag release-python-2.4-$VERSION

$ admin-tools/make-dist-newer.sh
$ git tag release-$VERSION

Upload single package and look at Rst Formating

$ twine upload dist/uncompyle6-${VERSION}-py3.3.egg

Upload rest of versions

$ twine upload dist/uncompyle6-${VERSION}*

Push tags:

$ git push --tags