Extended version naming support in lockfiles.

example:
v2.8.beta
0.5.alpha