Use HEAD_VERSION var.