Auto-tools/Projects/Mozmill/Release: Difference between revisions
< Auto-tools | Projects | Mozmill
Jump to navigation
Jump to search
(→Release to Mozilla-central: removing obselete section) |
|||
| Line 22: | Line 22: | ||
# Run: ant -f build.xml (this builds the extension) | # Run: ant -f build.xml (this builds the extension) | ||
# Log into your AMO account (assuming you are an owner of mozmill on AMO), upload the new extension and fill out the required forms on AMO for it. | # Log into your AMO account (assuming you are an owner of mozmill on AMO), upload the new extension and fill out the required forms on AMO for it. | ||
Revision as of 16:33, 3 October 2011
Releasing Mozmill has a lot of moving parts. Here's how it's done.
Releasing For Real
- Release to Pypi
- Release to AMO
- Release to Mozilla-central
Releasing a Preview Release (aka Release to PyPi)
For previews (beta, alpha, rc etc) it's pretty easy. You just send it up to pypi because bothering the AMO Editors for review of a pre-release addon really wastes their time. The one exception to this is for major releases, it might be good to get AMO editor feedback early. But in general, for these releases, we just go to pypi. It's done like so:
- Bump your version: git checkout -b versionbump (do this from your dev branch for the release)
- Change all the setup.py/install.rdf's to have the proper <blah>rcX version where X is your rc number. For betas, use 'beta' etc. Pretty straightforward.
- Make a bug and attach the patch from 2 for review. This is a good step just to ensure we don't miss anything. Leave that bug open until we release so that you don't have to have a new bug for every silly version bump (i.e. rc1, then rc2 etc)
- Once you have review, commit your change to the development branch.
- Go into each directory (mozrunner/mozmill/jsbridge) and issue the following command: python setup.py sdist upload
- Verify that the packages have been uploaded correctly by updating from an older version of Mozmill and a new installation
Note: For step 5, you'll have to have a key registered with pypi and be listed as a maintainer of the pypi packages in order for the upload step to work. If you need that access for some reason, let harth or ctalbert know.
Release to AMO
- Once you have a final version, cd into mozmill/mozmill/mozmill/extension
- Run: ant -f build.xml (this builds the extension)
- Log into your AMO account (assuming you are an owner of mozmill on AMO), upload the new extension and fill out the required forms on AMO for it.