Releasing a New Version
=======================

 * Update translations, check and inform translators
   $ tools/update-translations
   $ gtranslator po/fi.po
   $ git commit -a -m "Update translations for X.Y.Z."
   - gaupol-i18n@gna.org
   - Wait at least a week for translations

 * Do final quality checks
   $ tools/pylint bin/gaupol *.py
   $ tools/pylint aeidon/
   $ tools/pylint gaupol/
   $ py.test --tb=no aeidon
   $ py.test --tb=no gaupol

 * Make final edits to files
   $ $EDITOR */__init__.py
   $ $EDITOR data/extensions/*/*.gaupol-extension.in
   $ $EDITOR NEWS TODO

 * Check that tarballs can be built
   $ ./setup.py clean sdist_gna --formats bztar,gztar

 * Check that installation of above tarball works
   $ sudo ./setup.py clean install --prefix=/usr/local
   $ sudo ./setup.py clean
   $ /usr/local/bin/gaupol

 * Commit changes
   $ git commit -a -m "RELEASE X.Y.Z"
   $ git tag -s gaupol-X.Y.Z
   $ git push
   $ git push --tags

 * Build final tarballs, edit related files and upload
   $ ./setup.py clean sdist_gna --formats bztar,gztar
   $ $EDITOR dist/*/*.news dist/*/*.changes
   - download.gna.org:/upload/gaupol/

 * Generate API documentation and upload
   $ ./setup.py clean doc --format html
   - download.gna.org:/upload/gaupol/

 * Send announcements and update web sites
   - http://home.gna.org/gaupol
   - http://bugzilla.gnome.org/editproducts.cgi?action=edit&product=gaupol
   - gaupol-announcements@gna.org
   - http://freshmeat.net/projects/gaupol
