adapt version number extraction to vX.Y.Z tag pattern
show version only in DEBUG builds