Outdated: last updated in 2005.

This is a checklist used by drivers@mozilla.org to help ensure that the right things happen before a release, and to give others a rough idea of how our release process works. The build team probably has a separate (and probably better) version of some parts of this list.

If you have additions or suggestions for this list, please note them at the wiki and one of will migrate appropriate additions from there to here.

Get the right fixes in

Make a branch

If it's a final release (rather than an alpha or beta release), a branch needs to be made. This is done once almost all of the necessary fixes are in. Before deciding that it's really time to release, drivers listen to feedback from people using the builds to make sure that they're good quality, and, before making the final decision, verify that talkback is working and run the smoketests plus a few additional tests.

When it's time to release, drivers let the build team know that it's time to tag the release and make the final builds (usually with some advance warning with some uncertainty). The build team cuts a branch by pulling a tree and tagging a base tag and (with cvs tag -b) a branch tag. Note that the minibranch mentioned on the tagging instructions isn't necessary here, since the pull scripts are updated on the branch itself.

The tagged files are more than just the default pull by the build scripts. They should also include mozilla/other-licenses/libart_lgpl/, mozilla/tools/trace-malloc/, mozilla/tools/jprof/, mozilla/tools/codesighs/, mozilla/toolkit/, mozilla/chrome/, mozilla/other-licenses/branding/, mozilla/other-licenses/7zstub/, mozilla/browser/, mozilla/mail/, mozilla/composer/ (and probably some other stuff that I missed).

The following command will checkout these additional files:

cvs co                                \
  mozilla/other-licenses/libart_lgpl/ \
  mozilla/tools/trace-malloc/         \
  mozilla/tools/jprof/                \
  mozilla/tools/codesighs/            \
  mozilla/toolkit/                    \
  mozilla/chrome/                     \
  mozilla/other-licenses/branding/    \
  mozilla/other-licenses/7zstub/      \
  mozilla/browser/                    \
  mozilla/mail/                       \
  mozilla/composer/

When the branch is made, create the blocking[R] bug nomination flags for the next release.

Notify the sysadmins

With our growing popularity, releases tend to cause us LOTs of bandwidth usage on our servers. As soon as a date has been set for the release (and preferably a week or so in advance) be sure to notify sysadmins@mozilla.org that a release is pending, so that proper preparations for having bandwidth available can be made. This is especially important for our FTP mirror network so we can avoid potential conflicts with other projects who share the same mirrors.

Update the version numbers

The version number updates have to be done twice. When the release is off the trunk they need to be done before the release, and some need to be done again after the release (to make things, e.g., 1.3b+ rather than 1.3b). When the release is off a branch, the version numbers need to be updated on the branch and on the trunk after the branch.

Also, for final releases only, remove the Debug and QA menus, build number, etc. (See bug 180823, bug 163246, and bug 139335.)

Make release builds

When it's time to release, drivers let the build team know that it's time to tag the release and make the final builds (usually with some advance warning with some uncertainty). The build team pulls the tree and tags the release (see above for comments on tagged files) and makes the necessary builds for the major platforms. (See the Mozilla Release Build Notes.) Additional builds will be contributed for other platforms and for specific distributions (i.e., RPMS). Be sure to create a contrib directory under the main release directory so that these builds have a place to go.

(Often this actually happens in reverse. That is, a certain set of nightly builds, which have already been tested (see above, on deciding when to release) are declared to be the release, and then the corresponding source is tagged. If it doesn't happen this way, then the resulting builds definitely need to be tested before they are declared to be the release.)

When making the builds, the network installers need to be extracted and repackaged or rebuilt so that they point to the releases directory on the FTP site.

Update log analysis scripts to start grabbing download stats for the new release.

Announce the release

Original Document Information