refactor: Move old code back in place
refactor: Move old code back in place

Pasting back the code which does the actual work of determining version
numbers, releases, etc.

semantic-rs/semantic-rs,semantic-rs/semantic-rs