mutter/doc/RELEASING

65 lines
1.5 KiB
Plaintext
Raw Normal View History

RELEASING
=========
When making a new release;
2011-06-09 14:58:34 +00:00
- Verify that you don't have uncommitted and unpublished
changes, i.e. both this:
2010-10-03 15:37:41 +00:00
2011-06-09 14:58:34 +00:00
$ git status
2010-10-03 15:37:41 +00:00
2011-06-09 14:58:34 +00:00
and this:
2010-10-03 15:37:41 +00:00
$ git diff --stat master origin/master
2010-10-03 15:37:41 +00:00
2011-06-09 14:58:34 +00:00
should be empty. Commit and push before the next step.
2010-10-03 15:37:41 +00:00
- Clean your work directory:
$ git clean -xdf
2010-10-03 15:37:41 +00:00
This ensures that you don't have stale files lying around.
- Run:
2011-03-14 16:02:13 +00:00
$ ./autogen.sh --enable-gtk-doc --enable-docs
$ make all
2010-10-03 15:37:41 +00:00
$ make check
2010-10-03 15:37:41 +00:00
And verify that the code builds from a clean Git snapshot.
2010-10-03 15:37:41 +00:00
- Update the release documentation:
2010-10-03 15:37:41 +00:00
- NEWS: new feature details, bugs fixed, acknowledgements
- README: dependencies, any behavioural changes relevant to
developers;
2011-03-14 16:02:13 +00:00
then commit the changes.
2010-10-03 15:37:41 +00:00
- Bump clutter_micro_version to the next even number; if this is a stable
release, bump up clutter_interface_version by one as well. Then commit
the changes.
2010-10-03 15:37:41 +00:00
- Run:
2010-10-03 15:37:41 +00:00
$ make release-publish
2010-10-03 15:37:41 +00:00
which will:
2010-10-03 15:37:41 +00:00
- do sanity checks on the build
- distcheck the release
- tag the repository with the version number
- upload the tarball to the remote server (needs SSH account)
2010-10-03 15:37:41 +00:00
- Bump clutter_micro_version to the next odd number; if this is a stable
release, bump up clutter_interface_version by one as well. Then commit
the changes.
- Push the branch and then the tag, e.g.:
$ git push origin master
$ git push origin 1.2.4
2011-03-14 16:02:13 +00:00
- Announce release to the waiting world on the blog and mailing lists. Use
the template printed by `make release-publish`.