This might be another place that is good to diverge from ant. Skip the `tag` call entirely and build it using the current version number, -1 from the patch version. If patch = 0, then fall back to tag parsing.