For an rst literal block, you need to indent it by at least one character.

My preference is ```v1.2``` rather than ```V1.2```.