We have a script that takes the last tag from our git repository and parses it in order to create the version number.
In order to do so, the tag must have a defined pattern (vX.Y.Z).
Is it possible to avoid to create a tag that does not match a specific pattern, in order to avoid distraction errors?