## Preliminaries
+* Update the version number at ``VERSION`` and ``ANNOUNCE.md``.
+
* Make sure that ``RELEASE_NOTES.md`` and ``ANNOUNCE.md`` are up to
date with the latest news in the release.
## Tagging
-* Create a tag ``X.Y.Z`` from ``master``. Use the next message:
+* Create a tag ``vX.Y.Z`` from ``master``. Use the next message:
```
- $ git tag -a X.Y.Z -m "Tagging version X.Y.Z"
+ $ git tag -a vX.Y.Z -m "Tagging version X.Y.Z"
```
- Note: For release candidates, just add a rcN suffix to tag ("X.Y.ZrcN").
+ 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 X.Y.Z -m "Tagging version X.Y.Z"
+ $ git tag -s vX.Y.Z -m "Tagging version X.Y.Z"
```
* Push the tag to the Github repo:
$ 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.
+
## Testing
$ git clone https://github.com/PyTables/datasette-pytables
$ cd datasette-pytables
$ python setup.py build
+ $ pytest
```
* Make the tarball with the command:
## Announcing
-* Send an announcement to the python-announce, python-users and pydata
+* 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).
#XXX version-specific blurb XXX#
+* Update ``VERSION`` file to X.Y.(Z+1)-dev
+
* Commit your changes with:
```