Author: Javier Sancho, Francesc Alted Contact: [email protected], [email protected] Date: 2018-06-01
-
Update the version number at
VERSION
andANNOUNCE.md
. -
Make sure that
RELEASE_NOTES.md
andANNOUNCE.md
are up to date with the latest news in the release. -
Commit your changes:
$ git commit -a -m"Getting ready for X.Y.Z final"
- Once a year: check that the copyright year in
LICENSE
file.
- Create a tag
vX.Y.Z
frommaster
. Use the next message:
$ git tag -a vX.Y.Z -m "Tagging version X.Y.Z"
Note: For release candidates, just add a rcN suffix to tag ("vX.Y.ZrcN").
- Or, alternatively, make a signed tag (requires gpg correctly configured):
$ git tag -s vX.Y.Z -m "Tagging version X.Y.Z"
- Push the tag to the Github repo:
$ git push
$ git push --tags
- Do the official release. Go to:
https://github.com/PyTables/datasette-pytables/releases/edit/vX.Y.Z
and add the title for the release (vX.Y.Z) and the release notes there.
- Go to the root directory and run:
$ pytest
- Make sure that you are in a clean directory. The best way is to re-clone and re-build:
$ cd /tmp
$ git clone https://github.com/PyTables/datasette-pytables
$ cd datasette-pytables
$ python setup.py build
$ pytest
- Make the tarball with the command:
$ python setup.py sdist
Do a quick check that the tarball is sane.
- Upload it also in the PyPi repository:
$ python setup.py sdist upload
-
Send an announcement to the pytables-announce, pytables-users and pydata lists. Use the
ANNOUNCE.md
file as skeleton (or possibly as the definitive version). -
Tweet about the new release and rejoice!
-
Create new headers for adding new features in
RELEASE_NOTES.rst
and add this place-holder instead:#XXX version-specific blurb XXX#
-
Update
VERSION
file to X.Y.(Z+1)-dev -
Commit your changes with:
$ git commit -a -m"Post X.Y.Z release actions done"
That's all folks!