Skip to content

Releasing

R. Bernstein edited this page Oct 8, 2024 · 4 revisions

Table of Contents

Change version in spark_parser/version.py. Then:

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

Look over how the last release displays and change README.rst

Update ChangeLog:

$ make ChangeLog

Update NEWS.md from ChangeLog. Then:

$ emacs NEWS.md
$ 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
$ 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

Make packages and tag

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

$ admin-tools/make-dist-newer.sh

Go to https://github.com/rocky/python-spark/releases and copy from NEWS.md

Upload single package and look at Rst Formatting

$ twine check dist/xasm-${VERSION}*
$ twine upload dist/spark_parser-${VERSION}-py3.3.egg

Upload the rest of the wheels or eggs for other Python versions

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

Push tags:

$ git push --tags

Check on a VM

$ cd /virtual/vagrant/virtual/vagrant/ubuntu-zesty
$ vagrant up
$ vagrant ssh
$ pyenv local 3.5.2
$ pip install --upgrade spark_parser
$ exit
$ vagrant halt
Clone this wiki locally