First attempt at getting a proper version tag

Heavily inspired from mpv’s formula