forked from MarkUsProject/Markus
-
Notifications
You must be signed in to change notification settings - Fork 1
PreparingReleaseAndPatch
David Liu edited this page Apr 29, 2014
·
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 <InstallProdStable.rst>``__ 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 from the git tree by running the following:
$ 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
- 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 notes (blog.markusproject.org)
$ 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