forked from MarkUsProject/Markus
-
Notifications
You must be signed in to change notification settings - Fork 1
PreparingReleaseAndPatch
jerboaa edited this page Oct 9, 2011
·
6 revisions
- Run tests on PostgreSQL and MySQL Databases
- Make sure app/MARKUS_VERSION is updated
- Make sure Changelog gets updated.
- Make sure INSTALL is up-to-date in the repository and a most recent version is exported on markusproject.org (i.e. /path/to/www/INSTALL)
- If it is possible, run bundle exec rake i18n:missing_keys and add them to locales (you can keep the english key if you don't know how to translate it.) It will avoid missing locales errors.
- Make sure [deployment instructions](wiki:InstallProdStable) match latest requirements
- Make sure a tag gets created for the according release
- Make sure a branch for the minor version number (0.7.x for 0.7.0) gets created and pushed
- Prepare the archive (see below)
- Prepare a patch for micro release updates.
- Upload patch and archive
- Update latest-stable symlink in /download directory on markusproject.org
- Update index.html on markusproject.org and release note (blog.markusproject.org)
$ git checkout <branchname> $ git log $ git archive --format=tar -o markus-<version-number> --prefix=markus-<version-number>/ refs/tags/<markus-version-number> $ gzip markus-<version-number>.tar
$ git diff refs/tags/<markus-version> refs/tags/<markus-version> > markus-<markus-version>.patch
This will generate a Git style patch. Apply it by:
$ cd path/to/markus/root && patch -p1 < path/to/patch