Release Guide for Firefox - skrul/greasefire GitHub Wiki

How to release a new version of the Firefox extension.

  1. Ensure your git repository is clean and you have the latest code.

     $ git reset --hard HEAD
     $ git pull
    
  2. Checkout the tag of the version you want to release. Ignore the warnings about being in a 'detached head' state.

     $ git tag -l
     ff-v1.0.5
     ff-v1.0.6
    
     $ git checkout -t ff-v1.0.6
    
  3. Update the index files so the new release includes up to date indexes.

     $ cd firefox/indexes
     $ wget -O - http://frog23.net/greasefire/update.php | tar zxvf -
    
  4. Go up one level to the 'firefox' directory and build the XPI.

     $ cd ..
     $ ./makexpi.sh
    
  5. Rename the resulting XPI to something that matches the new version.

     $ mv greasefire.xpi greasefire-1.0.6.xpi
    
  6. Test it!