add version constant generation