pgTAP Release Management ======================== Here are the steps to take to make a release of pgTAP: * Test on all supported PostgreSQL versions, starting with the latest version (10) and moving backward in order (9.6, 9.5, 9.4, etc.). [pgenv](https://github.com/theory/pgenv/) is a handy tool for installing and switching between versions. For each version, ensure that: + Patches apply cleanly (try to eliminate Hunk warnings for patches to `pgtap.sql` itself, usually by fixing line numbers) + All files are installed (on 8.3 and earlier that includes pgtap.so). + `ALTER EXTENSION pgtap UPDATE;` works on 9.1 and higher. + `CREATE EXTENSION pgtap;` works on 9.1 and higher. + All tests pass in `make installcheck` (on 8.1, move the pgtap source dir into the postgres source `contrib` directory and run `make NO_PGXS=1 installcheck`) * If you've made any significant changes while testing versions backward, test them again in forward order (8.1, 8.2, 8.3, etc.) to make sure the changes didn't break any later versions. * Review the documentation in `doc/pgtap.mmd`, and make any necessary changes, including to the list of PostgreSQL version-compatibility notes at the end of the document. * Add an item to the top of the `%changelog` section of `contrib/pgtap.spec`. It should use the version you're about to release, as well as the date and your name and email address. Add at least one bullet mentioning the upgrade. * Run `make html` (you'll need [MultiMarkdown](http://fletcherpenney.net/multimarkdown/) in your path and the [Pod::Simple::XHTML](https://metacpan.org/module/Pod::Simple::XHTML) Perl module installed), then checkout the `gh-pages` branch and make these changes: + Open `documentation.html` and delete all the lines between these "DOC" comments, until the main div looks like this:
` from `doc/pgtap.html` into the `DOC INTRO HERE` section. + Copy the rest of `doc/pgtap.html` into the `DOCS HERE, WITH INTRO MOVED ABOVE` section. + Copy the entire contents of `doc/toc.html` into the `DOC SANS pgTAP x.xx` section, and then remove the first `