Add a release chapter

This commit is contained in:
Blottiere Paul 2020-05-15 23:20:11 +02:00
parent ae60644b59
commit 95e462a40e

View File

@ -152,3 +152,29 @@ and with various PostgreSQL/PostGIS releases:
.. _`source`: https://github.com/hobu/laz-perf
.. _`DockerHub`: https://hub.docker.com/_/postgres
.. _`GitHub Actions`: https://github.com/pgpointcloud/pointcloud/actions
------------------------------------------------------------------------------
Release
------------------------------------------------------------------------------
Steps for releasing a new version of Pointcloud:
1. Add a new section to the ``NEWS`` file, listing all the changes associated
with the new release.
2. Change the version number in the ``Version.config`` and
``pgsql/expected/pointcloud.out`` files.
3. Update the value of ``UPGRADABLE`` in ``pgsql/Makefile.in``. This variable
defines the versions from which a database can be upgraded to the new
Pointcloud version.
4. Create a PR with these changes.
5. When the PR is merged create a tag for the new release and push it to
GitHub:
.. code-block:: bash
$ git tag -a vx.y.z -m 'version x.y.z'
$ git push origin vx.y.z