How to build and release a new version of AddArt

This is simulating an exciting 0.4.4 release

– this needs to be updated now that AdBlockPlus is incorporated. Also, server.rdf is looking pretty messy. Some way of clarifying would be helpful.

  1. edit addart/install.rdf and update the version number (em:version)
  2. run compile.sh to build a new XPI build.bat for windows folks
  3. rename addart.xpi to something sexy and self-descriptive, like addart0.4.4.xpi
  4. calculate its sha1 using (on a mac) openssl sha1 addart0.4.4.xpi
  5. edit server/server.rdf
    1. in the top block add an RDF:li line with the new version number
    2. copy and paste one of the previous RDF:Description blocks
    3. change all previous version numbers in this new block to 0.4.4 (there should be 3)
    4. put in your fresh MD5 in em:updateHash
    5. save server/server.rdf
  6. using the McCoy tool sign the server file by clicking the sign button, then selecting server/server.rdf
  7. tag your release in subversion
    1. while inside /trunk execute svn copy . http://dev.eyebeam.org/svn/addart/tags/0-4-4 -m "tagging 0.4.4"
    2. commit: svn commit -m "tagging 0.4.4"
  8. upload the new XPI and the modified server.rdf to the server!
  9. update the version history
  10. take out the extra stuff and do it again for addons.mozilla.org
  11. ???
  12. PROFIT!