2009-07-18 14:40:29 -04:00
|
|
|
RELEASING
|
|
|
|
=========
|
|
|
|
|
|
|
|
When making a new release;
|
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
- Verify that you don't have uncommitted changes; both:
|
|
|
|
|
|
|
|
$ git diff HEAD
|
|
|
|
|
|
|
|
and:
|
|
|
|
|
|
|
|
$ git log master..origin/master
|
|
|
|
|
|
|
|
should be empty.
|
|
|
|
|
|
|
|
- Clean your work directory:
|
2009-07-18 14:40:29 -04:00
|
|
|
|
|
|
|
$ git clean -xdf
|
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
This ensures that you don't have stale files lying around.
|
|
|
|
|
2009-07-18 14:40:29 -04:00
|
|
|
- Run:
|
|
|
|
|
|
|
|
$ ./autogen.sh --enable-gtk-doc
|
|
|
|
$ make all
|
2010-10-03 11:37:41 -04:00
|
|
|
$ make check
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
And verify that the code builds from a clean Git snapshot.
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
- Update the release documentation:
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
- NEWS: new feature details, bugs fixed, acknowledgements
|
|
|
|
- README: dependencies, any behavioural changes relevant to
|
|
|
|
developers;
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
The commit the changes.
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04: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.
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
- Run:
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
$ make release-publish
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04:00
|
|
|
which will:
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04: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)
|
2009-07-18 14:40:29 -04:00
|
|
|
|
2010-10-03 11:37:41 -04: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.
|
2009-07-18 14:40:29 -04:00
|
|
|
|
|
|
|
- Push the branch and then the tag, e.g.:
|
|
|
|
|
|
|
|
$ git push origin master
|
|
|
|
$ git push origin 1.2.4
|
|
|
|
|
|
|
|
- Announce release to the waiting world on the blog and mailing lists
|