Machinery for versioned releases

WIP of necessary script to prepare releases.
(two hyphens is equivalent to one hyphen, according to the `flag` docs)