Add script to extract releases.

Does not handle archived packages yet.