-
-
Notifications
You must be signed in to change notification settings - Fork 8
Releasing
R. Bernstein edited this page Oct 8, 2024
·
4 revisions
Table of Contents
- Change version in spark_parser/version.py. Then:
- Look over how the last release displays on PyPI and change README.rst
- Update ChangeLog:
- Update NEWS.md from ChangeLog. Then:
- Make sure pyenv is running and check newer versions
- Switch to python-2.4, sync that up and build that first since it creates a tarball which we don't want.
- Update NEWS from master branch
- Check against all versions
- Make packages and tag
- Upload single package and look at Rst Formating
- Upload rest of versions
- Push tags:
- Check on a VM
$ emacs spark_parser/version.py
$ source spark_parser/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
$ 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
$ git commit -m"Get ready for release $VERSION" .
$ source admin-tools/check-older-versions.sh
$ 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
$ twine check dist/xasm-${VERSION}*
$ twine upload dist/spark_parser-${VERSION}-py3.3.egg
$ twine upload dist/spark_parser-${VERSION}*
$ git push --tags
$ cd /virtual/vagrant/virtual/vagrant/ubuntu-zesty
$ vagrant up
$ vagrant ssh
$ pyenv local 3.5.2
$ pip install --upgrade spark_parser
$ exit
$ vagrant halt