Add necessary bits for automagic version updating for regression builds.

Signed-off-by: Milo <milo@wibidata.com>